1998 called, it wants its java applets back
Yes. Please. Although something strongly typed would be even better. It’s ridiculous the world runs on a language built in 2 weeks.
It’s also ridiculous to think it’s still the same language that was built in two weeks, like absolutely no work was done in it over time.
I’ll admit I don’t really know the history of the language between then and now. Please don’t tell me the crazy stuff was somehow added later.
If you don’t know the history, why are you so confidently talking about JavaScript being built in 2 weeks?
I’m familiar with the early history, I’ve dabbled in it in modern times, and of course I’ve seen all the ways it’s bad memed about ad-infinitum (and have to agree).
I didn’t really think I had to be able to write a book on it to say it doesn’t deserve the use it gets, and I don’t think it’s outrageous to imagine that there’s a connection with the hasty genesis. So, I mentioned that off-hand. If it’s actually unconnected my bad.
The memes are annoying because most of the complaints are superficial.
“Look,
"b" + "a" + +"a" + "a"
outputs"baNaNa"
! JavaScript bad!” Yeah, that’s what happens. Just don’t do that thing that obviously doesn’t look right. Don’t usevar
, just like every modern JavaScript learning resource will tell you. Don’t use==
if you don’t intend for type coercing to happen.If you don’t write bad code on purpose, JavaScript is fine.
As a python developer and user of websites, please no. The web is already a slow mess and my laptop is already spinning up fans on some websites that really shouldn’t do anything much more complicated than load text and images from a database and display them. CPython would make it exponentially worse. At least pick a sensible performance focused implementation.
it’s cpython much slower than JS?