Hacker News new | ask | show | jobs
by jimjimjim 3701 days ago
There should always be a balance between brevity and being too verbose.

all single letters = bad, java style thisIsALoopCounter = bad.

and in the c world i is almost universally understood to be used as a loop counter and index. If I came across 'count' in a c code I (briefly) might think it was related to a count of items in an array or similar.

1 comments

I agree. The problem is that those single character names get abused and you end up with code that consists only of them, including the function arguments, which is the worst.