News for hackers. Stuff that matters.
Re:Every programmer has a variable naming philosophy by rsclarke on Thursday February 04, 2010 @03:31PM (#1101520)
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'.

There are no comments on this comment yet.