35

Never name variables with single letters. Make them at least two characters, so they're searchable

Comments
  • 1
    There is a "whole word" search option in all IDEs you know!
  • 0
    Never felt the need to search for variables. They are there to get the job done. I usually search for methods and classes
  • 1
    It's kind of a none issue with s good IDE IMO
  • 0
    @TktStatusPICNIC Underrated comment. I can't stand ambiguous variable names
  • 0
    I agree, but I think that using $i in a for loop is completely reasonable.
Add Comment