|
|
|
|
|
by rsclarke
5976 days ago
|
|
I do not like long variable names and believe it is a combination of good commenting and inference through the code, that one should understand the role of the variable. I was taught camel case for everything, which I don't agree with. Camel case for class names, everything else lower case, short and separated with underscores if needed. Collections are plural, e.g addresses, so that one can be generic in iteration and talk of an 'address'. |
|