Monday, February 27, 2012

15 Best Practices of Variable & Method Naming (link)

1. Use short enough and long enough variable names in each scope of code. Generally length may be 1 char for loop counters, 1 word for condition/loop variables, 1-2 words for methods, 2-3 words for classes, 3-4 words for globals.

Read more...