JavaScript is the best language for application and API development.
People who have a problem with JavaScript need to get over themselves. JS is one of the closest languages we have to pseudocode (which is optimized for readability by humans). It has some bad parts, but you can avoid these and write very secure, high quality code.
IMO, the simplicity of JavaScript makes it easier to spot mistakes in the code.
This is not my experience at all. I find Typescript to be a world better than JS.
You are correct you can write secure, high quality code. You can do that in assembler too. However that's very difficult and it's easy to go wrong. I think JS is better than assembler but there are much better languages.
Sometimes we become an expert in something so it's much easier for us to use. Then we think that thing is the reason it's so easy. When it's our expertise that makes it easy for us. Do you think that could be the case?
I had a large NodeJS web backend that my teammate and I switched to TS . It just felt like JS but with extra steps. The type system is rather manual (compared to say Rust), and it didn't catch any mistakes I wouldn't have noticed on my own or caught in integration testing. It also complicated the toolchain all the way through. But we rolled with it.
The next project was forked from the same codebase and had an even more complex feature set. I took everything back to JS and never regretted it.
I've done other backends in Python, Erlang, Java, Golang, and C++. Done mobile apps in ObjC and Swift; not directly comparable, but JS (via React Native) was also nicer like night and day.
Is this satire? If it's not, then this question is going to sound dickish. That's not my intention, I'm just genuinely wondering if this is satire because it's not always obvious on the internet.
I agree for web stuff, and it took me longer to realize this than it should have. Mained about 8 other languages first. Looking back, I was wasting so much time on pedantic stuff.
Python is the more pseudocode-like language, though. It has a place for scripts, data science / ML, and coding interviews.
People who have a problem with JavaScript need to get over themselves. JS is one of the closest languages we have to pseudocode (which is optimized for readability by humans). It has some bad parts, but you can avoid these and write very secure, high quality code.
IMO, the simplicity of JavaScript makes it easier to spot mistakes in the code.