Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've spent so long working with both 0-indexed and 1-indexed (I work with Lua a LOT at work) that it makes almost no difference to me, and I can switch between the two with usually no hiccups.

Either one is something you get used to with practice. I do prefer 0-based, but 1-based isn't as big of a deal as many people treat it in the vast majority of situations, and almost every situation where you'd be using something like Lua in the first place.



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

Search: