Hacker News new | ask | show | jobs
by vesuvianvenus 1716 days ago
I haven't had trouble with maintenance or avoiding bugs with NodeJS. I don't see justification for putting in 30-40% more time and effort for the same result.

To me it seems like an intentional complication of something which can otherwise be simple. Which is unfortunately somewhat common in this industry of software engineering.

It seems there might even be an interest for engineers to keep things complicated-- to gatekeep the industry, to make themselves seem more skilled/necessary so as to keep a job for longer.

(more time in a project => more money by the hour. More LoC looks like more work was done... even if the same can be accomplished with 60-70% of the code (i.e. without the type system)).

2 comments

If you work by yourself this can be true. But it’s not that different from saying you don’t need to write tests because you don’t have trouble with bugs! That might be true but it doesn’t make it a good idea.

I’ve worked with NodeJS for over 10 years now and have ported many codebases from JS to TS and have never found one that didn’t contain a bug that the TS compiler found immediately, even my own carefully crafted solo projects.

Plus every type definition and annotation is basically a free self-maintaining unit test!

> I don't see justification for putting in 30-40% more time and effort for the same result.

Precisely why I refuse to use JS for any piece of work >500loc.