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

> Using 1 as the initial position for an array makes sense when you’re talking like a human.

I don't care. Every other popular language uses 0-based arrays. Using Lua is a massive pain because I have to change my mental model for a basic computer science structure compared to all other languages I use.



Massive pain is overstating it I think. Plus there's almost certainly a patch out there that changes it to zero based.


I don't know, I'm used to zero-based semantics, but I've used MATLAB and R a bit, and it's not that hard to switch gears. My biggest problem is usually figuring out which library to use in a given ecosystem, and how to use it.




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

Search: