News for hackers. Stuff that matters.
Re:Is naming things really that hard? by vertex-four on Saturday March 04, 2017 @03:16PM (#13792726)
Of course, the actual solution to using i as a counter in a loop is almost always to elide the counter entirely, using an iterator. Expanding on that principle - if you have something that seems to evade a good name, perhaps you're at the wrong level of abstraction.
Re:Is naming things really that hard? by c22 on Saturday March 04, 2017 @07:54PM (#13793935)
Or instead of "i" use "iteration"? Whatever, I use "f" for all my file handlers too.