"The only programming languages that people don't hate on are the ones nobody uses." - someone online
Negative indexes might actually be useful.
At some point I actually need to read the actual language specs, I guess.
Negative indexes might actually be useful.
At some point I actually need to read the actual language specs, I guess.
https://www.ecma-international.org/publications-and-standard...
But more seriously, languages that are less formally made and have grown organically all deal with these types of things. PHP is a great example of a language with a TERRIBLE core library filled with numerous "don't use this" and "yes this doesn't make sense" and esoteric foot guns.
Of course, these languages are the ones that took off and people use everywhere. And languages like PHP have made great strides to the point that using PHP8 with a modern set of libraries is not so bad.