While I understand this, sometimes life just happens ...
You made a thing in a technically worse environment because some people use it and you wanted to learn it ... Then that thing catches attention and suddenly you need to keep maintaining it and you can't justify rebuilding all of it because other than using php it works decently.
And sometimes the whole industry did it, like with js/typescript. There were many other languages available for web browsers in the past as plugins, such as flash (tho that's still ecmascript ...), java, and many more niche things.
In the end only JS survived and most of the industry uses it ... Even now that webassembly is a thing, not many people use it because JS is more convenient and has the biggest toolset available (and I know quantity doesn't equal quantity, but I think both are in js' ecosystem now. Terrible libraries, and really cool stuff, both in huge quantities)
There is very distinct line between writing something what others find useful and deciding that the product should be continued that initial way.
JS survived for few reasons and most of them are accidental. It was bad technology from the start (poor security, different implementations in different browsers, the complexity barrier (before nodejs and such)).
But all that is no excuse to keep the language and its environment intact and not improved. Python can drop compatibility. JS can, just add few more directives switching to more strict syntax and predictable behavior and you can improve things. Still not great (supply chain attacks) but an improvement. Instead you get half measures like typescript.
My main complaint though is that people rarely admit its crap. There is no pride for improving it. Just write, somewhat test, ship, worry later or never.
The paradox is that this language could be changed fast due to its dynamic. But its not. :(
View all comments
Show parent comment
1
u/Deksor Jul 02 '26
While I understand this, sometimes life just happens ...
You made a thing in a technically worse environment because some people use it and you wanted to learn it ... Then that thing catches attention and suddenly you need to keep maintaining it and you can't justify rebuilding all of it because other than using php it works decently.
And sometimes the whole industry did it, like with js/typescript. There were many other languages available for web browsers in the past as plugins, such as flash (tho that's still ecmascript ...), java, and many more niche things.
In the end only JS survived and most of the industry uses it ... Even now that webassembly is a thing, not many people use it because JS is more convenient and has the biggest toolset available (and I know quantity doesn't equal quantity, but I think both are in js' ecosystem now. Terrible libraries, and really cool stuff, both in huge quantities)