3 ms·
This is the way. JS is a terrible language to begin with, and bringing it to the backend was a mistake. TS doesn’t change the fact that the underlying language
by rednafi 1y ago
This is the way.
JS is a terrible language to begin with, and bringing it to the backend was a mistake. TS doesn’t change the fact that the underlying language is still a pile of crap.
So, like many, I’ll write anything—Go, Rust, Python, Ruby, Elixir, F#—before touching JS or TS with a ten-foot pole.
- koakuma-chan 1y agoYou think Python is a better language than TS?
- deleted 1y ago[deleted]
- rednafi 1y agoAnything at this point.
- koakuma-chan 1y agoPython is terrible in the age of LLMs because type checking doesn't work properly.
- rednafi 1y agoPython is basically the only language that’s used to train the models. Sure, the libs are mostly written in C/C++, but all of them have first-class support for Python and oftentimes Python only. Serving the model is a different story and you can use whatever language to do so. As someone who has worked in the DS realm for an extended period of time, I can tell you Python has practically zero competition when it comes to data wrangling and training models. There are plenty of contenders when it comes to serving the models or building “agents.” As for type checking, yeah, it sucks big time. TS is a much better type system than the bolted-on hints in Python. But it’s still JS at the end of the day. All the power of V8, a zillion other runtimes, and TS gets marred by a terribly designed language.
- trevinhofmann 1y agoThis doesn't contribute much to the discussion. Use whatever language works well for you and the task at hand, but many enjoy fullstack JS/TS.
- mkfs 1y ago> Python, Ruby It's 2025, Node.js has been around since 2009, yet these languages' still use C-based interpreters by default, and their non-standard JIT alternatives are still much worse than V8.
- rednafi 1y agoDefine “worse.” V8 is a runtime; it can’t fix JavaScript’s terrible design. V8 is amazing but runs a crappy language. Both Ruby and Python were created by actual language designers, and that still shows even decades after their original conception.