this post was submitted on 04 Jan 2026
62 points (82.3% liked)

Unpopular Opinion

8407 readers
122 users here now

Welcome to the Unpopular Opinion community!


How voting works:

Vote the opposite of the norm.


If you agree that the opinion is unpopular give it an arrow up. If it's something that's widely accepted, give it an arrow down.



Guidelines:

Tag your post, if possible (not required)


  • If your post is a "General" unpopular opinion, start the subject with [GENERAL].
  • If it is a Lemmy-specific unpopular opinion, start it with [LEMMY].


Rules:

1. NO POLITICS


Politics is everywhere. Let's make this about [general] and [lemmy] - specific topics, and keep politics out of it.


2. Be civil.


Disagreements happen, but that doesn’t provide the right to personally attack others. No racism/sexism/bigotry. Please also refrain from gatekeeping others' opinions.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Shitposts and memes are allowed but...


Only until they prove to be a problem. They can and will be removed at moderator discretion.


5. No trolling.


This shouldn't need an explanation. If your post or comment is made just to get a rise with no real value, it will be removed. You do this too often, you will get a vacation to touch grass, away from this community for 1 or more days. Repeat offenses will result in a perma-ban.


6. Defend your opinion


This is a bit of a mix of rules 4 and 5 to help foster higher quality posts. You are expected to defend your unpopular opinion in the post body. We don't expect a whole manifesto (please, no manifestos), but you should at least provide some details as to why you hold the position you do.



Instance-wide rules always apply. https://legal.lemmy.world/tos/

founded 2 years ago
MODERATORS
 

Popcorn

top 32 comments
sorted by: hot top controversial new old
[–] ptz@dubvee.org 24 points 1 week ago (1 children)

Per rule 6, please back up your opinion with the reasoning behind it.

[–] jaykrown@lemmy.world 29 points 1 week ago (1 children)

JavaScript was originally built in just ten days to handle lightweight tasks within a web browser, like validating forms or animating buttons, not to power the heavy logic of server-side infrastructure. Using Node.js forces this fragile scripting language to do work it wasn't designed for, lacking the strict stability, type safety, and multi-threading capabilities of robust languages actually engineered for servers, like Java or Go. By pushing JavaScript onto the backend, the industry prioritized the convenience of not learning a second language over engineering rigor, resulting in bloated applications, security vulnerabilities from excessive dependencies, and significant performance ceilings that proper backend languages simply do not have.

[–] Blue_Morpho@lemmy.world 8 points 1 week ago (1 children)

I believe the problem is developers, not the language. The problem is developers importing node.js and other giant frameworks for a simple function. That's not a language problem. Bad coders are going to cause the same problems in any language.

The same problem exists in C when a simple Windows app requires a separate install of the vcruntine140.dll. Java also has enormous libraries that programmers abuse because they are cutting and pasting codestack they don't understand.

[–] jaykrown@lemmy.world 4 points 1 week ago

I agree that's the main problem, but if it didn't exist or was never attempted to be used that way, it wouldn't be a problem to begin with.

[–] Sunsofold@lemmings.world 3 points 6 days ago

Popular opinion among those who write code. Unpopular opinion among those who pay people to write code.

[–] JGrffn@lemmy.world 1 points 5 days ago

I just implemented a NestJS API for my client for the sole purpose of spiting you. And I didn't even write it myself, I let Cursor do it for me. What are you gonna do, segfault me? Laughs in NaN

[–] degenerate_neutron_matter@fedia.io 17 points 1 week ago (1 children)

Popular opinion, downvoted.

[–] jaykrown@lemmy.world 0 points 1 week ago (1 children)

If it's popular then why does it still exist and applications today are still being built using it?

[–] not_woody_shaw@lemmy.world 4 points 1 week ago (1 children)

Because its the only language in browsers so it's ubiquitous, and it's elegant and cost effective (note i didn't say it's a good idea) to use the same language on back-end and front-end.

[–] DomeGuy@lemmy.world -1 points 1 week ago (1 children)

Webassembly is a thing, and it's only a matter of time before Google or Microsoft ship either a dotnet runtine or a go interpreter or some other FOSS shippable component as a chromium plugin or something.

[–] chilicheeselies@lemmy.world 1 points 5 days ago

Inertia is powerful though

[–] 6nk06@sh.itjust.works 13 points 1 week ago (2 children)

JavaScript should not exist, at all.

[–] sentient_loom@sh.itjust.works 1 points 5 days ago

I love JS since es6, but I never want to use it in the backend. I always want a typed language, or else python. But I always feel a little happy when I'm coding front-end JS.

[–] jaykrown@lemmy.world 4 points 1 week ago (1 children)

It's a pretty core aspect of the web, I think it's necessary, but it was taken too far.

[–] manxu@piefed.social 18 points 1 week ago (2 children)

Some kind of scripting language was necessary, I don't think JavaScript had to be it.

First there was C++: bloated, complicated, and not memory safe. So they came up with Java, which was similar in syntax but much less complicated, with great memory safety, and a decent type / object system. It was popular in the day, with a cultish fan base, and was seen as cool. So they (meaning Netscape) wrote something that looked like Java but got rid of half the good features. Nobody thought at the time that JS mattered much, it would be soon replaced by something better.

And that was decades ago. It was never meant to run the web for that long. It did an acceptable job, but it is very frustrating in the long run.

[–] Limerance@piefed.social 13 points 1 week ago

The problem with Java applets was the slow startup time of the VM. JavaScript loaded quickly and executed immediately.

The real dominance of JavaScript started after Flash died. Starting with the iPhone, the booming smartphone didn’t support Flash. Websites needed to migrate away from depending on Browser Plugins. The only option was JavaScript. Microsoft Silverlight, Java Applets, Flash, Shockwave were all Plugins. Mobile Browsers don’t support plugins because of performance, security, and usability issues. Users of all of these platforms switched to JavaScript for lack of a better option. The introduction of electron and other JavaScript powered applications on the desktop is a long term consequence of that transition. The death of the browser plug-in had severe consequences.

[–] Jesus_666@lemmy.world 5 points 1 week ago

JavaScript started out as a cut down Smalltalk clone because the dev thought that Smalltalk was cool. Then they bolted a curly braces syntax onto it and called it JavaScript for marketing reasons.

The big alternative was Microsoft's VBScript, based on Visual Basic and not available on any browser other than Internet Explorer.

We're arguably better off with JS in the browser. Of course server-side JS is a spectacularly bad idea.

[–] foggy@lemmy.world 12 points 1 week ago (1 children)

This is a popular opinion as far as I'm concerned.

As an IT professional with like 5 years of web dev experience and am now in cybersecurity, node.js + npm + chromium = electron = literal fucking minefield scattered across the entire internet and beyond.

[–] jaykrown@lemmy.world -1 points 1 week ago (4 children)

If it's popular then why do so many of those things still exist?

[–] chilicheeselies@lemmy.world 2 points 5 days ago

Built software doesnt just disappear when popularity wanes. There is still TONS of PHP running websites actoss the internet, despite it being out of favor. Hell, there are still cobol programs running at large companies who were very early tech adopters.

JS has permeated so much, you wont see it disappear in your lifetime.

[–] sentient_loom@sh.itjust.works 1 points 5 days ago (1 children)

"Murder is bad" is a popular opinion. So why do so many murders still happen???

[–] jaykrown@lemmy.world 1 points 5 days ago (1 children)

Comparing using Node.js to murder is hilarious.

[–] sentient_loom@sh.itjust.works 2 points 5 days ago

Node.js is the preferred backend solution among mass murderers

[–] msage@programming.dev 6 points 1 week ago (1 children)

Because, as you already very well know, things don't happen because they make sense, or because people who know stuff think something is a good idea.

Things happen because enough people got into it. That's it.

And even if everybody wished JS to die, it simply won't, because people need to get paid, and devs already in the ecosystem won't switch, cause switching is expensive.

[–] jaykrown@lemmy.world 0 points 6 days ago (1 children)

Things happen because enough people got into it.

If it was a popular opinion then people wouldn't have gotten into it.

[–] msage@programming.dev 1 points 6 days ago

Even if it was popular by 60%, the rest is still a lot of people.

[–] foggy@lemmy.world 1 points 1 week ago* (last edited 1 week ago)

Because project managers talk to stakeholders and have no idea how anything works.

And that's because when people who know how things work talk to stakeholders, no one buys.

Welcome. To, the machine.

[–] ohlaph@lemmy.world 5 points 1 week ago (2 children)

I always felt like TypeScript was a sad attempt to make JavaScript something it isn't.

There are perfectly good languages and JavaScript should only be used for lightweight scripting purposes. Sure Node can work for small web projects, but man what a clusterfuck it becomes at the enterprise level.

[–] msage@programming.dev 2 points 1 week ago

Even for small things it turns into a clustefuck.

It's almost a miracle how bad it is.

It's almost like Perl in that regard.

[–] Cratermaker@discuss.tchncs.de 2 points 1 week ago

A proper type system should be like the bumpers in a bowling alley, where you know the ball will at least stay on the track. Typescript is more like the ball launching ramp, where you probably won't yeet the ball straight into the gutter but it can still certainly end up there.

I agree TS is just not a good idea to start with, but it might at least be respectable if it actually had runtime enforcement. Maybe then node wouldn't be as horrible, though you're always better off with a real backend language anyhow.

[–] thesmokingman@programming.dev 4 points 1 week ago (1 children)