Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Goladus
on Dec 19, 2007
|
parent
|
context
|
favorite
| on:
How to become a programmer
A long time ago I started naming mine 'ii' or some variant of 'index' for exactly the reason mentioned (wouldn't confuse search/replace).
Although I often try to avoid using counters at all via foreach or recursion.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Although I often try to avoid using counters at all via foreach or recursion.