Hacker News new | ask | show | jobs
by 4e530344963049 1573 days ago
"JS is almost never the right tool for the job"

Except, you know, in the browser...

4 comments

Yeah I didn’t get that part, JS is one of the most used languages because of the browser
This is fair. I don't write browser code.
Web Assembly is right around the corner... still =P
That doesn’t mean you need to write JavaScript. You can write code in a reasonable language that compiles to JavaScript.
Sometimes yes but for a lot of situations we have better options, like ClojureScript, TypeScript, etc.
I assume they meant everything, except the browser (like electron apps or NodeJS on the backend).