2 ms·
> You get used to it pretty quickly. You don't if you're writing low level algorithms. It's difficult for me to articulate the exact problem but I liked 1-base
by Reelin 6y ago
> You get used to it pretty quickly.
You don't if you're writing low level algorithms. It's difficult for me to articulate the exact problem but I liked 1-based indexing until I needed to implement some algorithms that operated on multi-dimensional arrays element wise. Things just don't compose the right way.
It's actually the primary reason I don't make more use of Julia. I like the syntax and overall design more than Python but it just isn't worth it to me.
(If you're wondering what I'm doing in an Lua comments section, it's because I really like the ideas behind some of the Lua based languages such as Terra.)