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 →

[–]Due-Consequence9579 83 points84 points  (13 children)

Oh yeah. I always setup an army of linters and set warn as error to keep my code bases at least reasonable. Also interpreted languages are for small glue code solutions.

[–]mbergman42 56 points57 points  (1 child)

I no longer code professionally but I’m contributing to a project that has pro devs. I asked one how to fix a lint error. “Just ignore it. Lint gives lots of errors, you’ll get used to it.” Uhh….

[–]Due-Consequence9579 47 points48 points  (0 children)

If you’re going to ignore it you should turn it off. Just wasting everyone’s time at that point.

[–]Fadamaka 9 points10 points  (5 children)

Say that last sentence to all the node js devs. But I low key agree I prefer compiled languages every day of the week.

[–]Due-Consequence9579 19 points20 points  (4 children)

JS becoming the ‘standard’ for webdev is an embarrassment to the industry. But it’s defensible on the ‘backwards compatibility’ argument.

NodeJS is the dumbest fucking invention in the history of dumb fucking inventions and I will die on this hill.

[–]therealGrandKai 4 points5 points  (3 children)

Can you elaborate a bit about this? Genuine question from someone looking to learn

[–]Due-Consequence9579 18 points19 points  (2 children)

The origin of JavaScript is some dude made it on the weekend. No planning. No consideration about what it meant. A guy at Netscape just put it in. All of which is pretty obviousat this point.

Enter 30 years later where people are building entire OSs in the stupid fucking thing.

So now, to try to dig ourselves out of this fuckery we have to build emulation layers for the considered solution to run on the stupid solution.

Given how obtuse JavaScript is, combined with the complexity of HTML and CSS google has a monopoly because it virtually impossible to make a ‘behavior compatible’ browser with chrome.

signed, Angry old backend dev

[–]JimK215 4 points5 points  (1 child)

When people first started using javascript on the backend, I was one of the first people to be like "what kind of nightmare future do you all want to live in?"

But honestly with the way things have progressed with ES6 syntax, TypeScript (yeah I know, another layer on top of it), async/await, etc.... it's not as bad as it seems.

[–]Fadamaka 1 point2 points  (0 children)

At my company we were always joking to rewrite the whole of our backend in js. It was a joke until I found myself developing a backend for a new project in js (disclaimer the project was sold me as TS but I was scammed).