News for hackers. Stuff that matters.
Re:A Guide to Naming Variables by riprowan on Saturday May 14, 2016 @09:57AM (#11696139)
Came here to say this. I bumped my head hard on this part of the text - the whole point of using a cliche is that it's immediately understandable. When I come across an incrementing loop that doesn't use a cliche variable like "count" or a function that doesn't return "return" it increases my mental tax. The nice thing about using a variable like "count" or "return" throughout your function is it's immediately intuitive what's going to happen with this variable.

There are no comments on this comment yet.