3 ms·
From the proverbial frying pan into the fire. If you're going to go through all of the effort and cost to switch platforms and to retrain your developers, why o
by jacquesm 1y ago
From the proverbial frying pan into the fire. If you're going to go through all of the effort and cost to switch platforms and to retrain your developers, why on earth would you pick Node.js?
Node.js is such an incredible mess. The ideas are usually ok but the implementation details, the insane dependencies (first time I tried to run a Node.js based project I thought there was something seriously wrong with my machine and that I'd been hacked), the lack of stability, the endless supply chain attacks, maintainers headaches and so on, there is very little to like about Node.js.
C# before Node.js and I can't stand C#. Java Before C#. Yes, it's a language rant, but in the case of Node I am really sorry.
- tshaddox 1y agoSo you'd recommend they rewrote their Python project in Java (assuming the rewrite itself was a good idea)? I don't have any experience on a production web server written in Java or C#, but they both seem like a more difficult transition than JavaScript for rewriting a Python codebase.
- jacquesm 1y agoI've written code in all of these and I think that Python to Java or Go is easier than Python to Node, especially if you don't want to spend the next 24 months auditing all of the code you just imported.
- CharlieDigital 1y agoFor the uninformed, C# and TypeScript are very similar[0] In fact, JavaScript has borrowed a lot from C# including async/await, lambda expressions, and the syntax for disposables -- all influenced by and done first in C#. Of course, TypeScript and C# are from the same designer at Microsoft so there are even more similarities. Any team that's considering moving to TypeScript should also really give C# a look. [0] https://typescript-is-like-csharp.chrlschn.dev/pages/intro-and-motivation.html#inheriting-classes https://typescript-is-like-csharp.chrlschn.dev/pages/intro-a...
- pjmlp 1y agoExcept in performance, and tooling.
- moralestapia 1y ago[flagged]
- jacquesm 1y ago> I've been working with Node.js since it came out and it's my go to language for anything backend-related. > As you get more familiar with computers you will understand more and more what's going on. Pot, meet kettle. And yes, Rust's package management was inspired by Node, and it is one of the major drawbacks of Rust.
- moralestapia 1y ago[flagged]
- jacquesm 1y ago[flagged]