A Guide to Naming Variables

/a-guide-to-naming-variables.html

  • A Guide to Naming Variables
    http://feedproxy.google.com/~r/blogspot/xuFvSR/~3/0q1MpIo1voA/a-guide-to-naming-variables.html

    Naming Variables Names Considered Useful Software is written for people to understand; variable names should be chosen accorrdingly. People need to comb through your code and understand its intent in order to extend or fix it. Too often, variable names waste space and hinder comprehension. Even well-intentioned engineers often choose names that are, at best, only superficially useful. This document is meant to help engineers choose good variable names. It artificially focuses on code reviews because they expose most of the issues with bad variable names. There are, of course, other reasons to choose good variable names (such as improving code maintenance). This document is also a work-in-progress, please send me any constructive feedback you might have on how to improve it. Why (...)