Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Picking variable names can definitely involve tradeoffs. For example, how long the variable name will be could be a tradeoff based on how much information the rest of your team has about the context in which the variable will be used. Do you need a variable to be very long so as to explicitly spell out a lot of details about itself? Is a very short name (such as i for iteration) acceptable in the current context?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: