Y
Hacker News
new
|
ask
|
show
|
jobs
by
decremental
1275 days ago
I prefer variables of the same length so that code is symmetrical. I'll sometimes use synonyms to achieve this.
1 comments
kmoser
1275 days ago
On a similar note, I like variable names that are in the same style, e.g. fooBar or bazBat. That means if I ever see a variable named simply foo or bar, there's likely to be a problem.
link