6 ms·
Have you tried many other languages? This is not my experience at all. I find Typescript to be a world better than JS. You are correct you can write secure, h
by xupybd 4y ago
Have you tried many other languages?
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?
- hot_gril 4y agoI 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.
- xupybd 4y agoMy experience has been that JS is difficult to maintain. Especially when the project gets a few years old. It might just be personal preference. If you've given other languages a go and still love JS that's great. I'm glad you enjoy it.