3 ms·
> 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. Us
by SuperV1234 4y ago
> 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.
- cjohnson318 4y agoI 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.
- JonChesterfield 4y agoMassive pain is overstating it I think. Plus there's almost certainly a patch out there that changes it to zero based.