I recently received this kind message on LinkedIn from the president of a Canadian cybercrime technology company:
Well, no. And it’s worse, because at least before, we were screwing up small things with JS, it was a toy. The thing is, there is a mass psychosis about JS and it’s like everybody is pretending that it isn’t awful. And then, as if this wasn’t bad enough, someone had the brilliant idea of putting this thing in the backend. Nodejs is costing millions per year to naive companies who are adopting it. You were wondering who they are: they are startups and small companies.
Mind you, these engineers are smart, but they’re weak against crowd thinking.
So it got me thinking a lot about this JS situation, and the only plausible explanation is this : Frontend has been despised by engineers because it is less scientific and more intuitive, and also because tooling has failed us over the years. So designers have picked up the ball and now they want to program, the result being NodeJS, JS and blindness to their holes ( — craters) . Designers are no engineers and vice versa, we should stick to our respective strengths.
At my new company, everyone was pretending that JS was alright. I got tired and spoke up. Turns out, deep down they all hated JS, it was just crowd thinking. Now they all hate JS. And we’re waiting impatiently for Web Assembly.
Just took someone to speak up, like you did. So keep doing it. Before some kid gets hurt and we get a tragedy.
And let’s not overlook the fact that no linter is perfect. It cannot catch everything, and it may even produce false positives. Yes, that’s just the kind of thing you want from a static code analyzer.