by Kaveren · 8y ago · 0 comments
Besides that, if someone is already looking for a simple scripting language, Lua already exists. I personally prefer its syntax as well.
I was basing the person's reasoning after the original poster's reply:
> There are so many programming languages - but imho not a real easy one for beginners.
You'd think that everyone in computer science would have read https://www.cs.utexas.edu/~EWD/ewd08xx/EWD831.PDF by now, though. Makes a fairly airtight case for zero-based indices.
I've noticed that in functional languages, the presence of enumeration operators makes indexing in any case almost entirely unnecessary. Perhaps the original problem was just a "design smell" all along.