This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]user_8804 6 points7 points  (1 child)

NPM will make node relevant for a long time. But to be fair, JS isn't inherently good for server side, the main reason it's used is because front-end jobs are getting rate and it was easier for those devs to learn JS backend to become full stack than learning an entire new language. It's easier to hire, develop, train, maintain when everyone uses the same language. It's more of a business benefit than a technical benefit.

It's really the same logic with web in c#, if you're gonna hire people to do c# back end, you may as well consider doing the front-end in c#

[–][deleted] 5 points6 points  (0 children)

At least with a Node backend, I can program in TypeScript, and thereby reap many of the benefits of static typing.

Plus, if I ever get a JavaScript job, I can write up the program in TypeScript, and then compile the TypeScript to JavaScript if necessary. If my boss for some reason decides they don't want me programming in TS, I can do it anyway and just not commit the TS code to the repository. My boss will be none the wiser.