Hacker News new | past | comments | ask | show | jobs | submit login

Or how about just combining all those variables into an array named "iterator_powers" or similar? There could be another one, "iterator_multipliers" containing 3, 5, and 7. I don't know if this is actually a "best practice" or rule, but I've found that if I want to name variables after numbers, usually what I'm trying to do should be using an array.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: