Hacker News new | ask | show | jobs
by manv1 1194 days ago
"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.

3 comments

For reference, here's the current spec...all 833(!) pages of it.

https://www.ecma-international.org/publications-and-standard...

tbf that statement is only usefull if you have a choice, but is there really a choice for typescript/javascript? you can't have rich apps without it. and wasm isn't there yet.
The author of C++, so maybe take that with a little grain of salt.
C++: an octopus made by nailing extra legs onto a dog. — Steve Taylor

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.

Yes, but Go is also popular and famously resists doing that as much as possible. Maybe language popularity isn't a good metric, since there could be other reasons a language becomes popular. Worse is better, and what not.
“Haha, C++ bad meme.”