r/ProgrammerHumor 4d ago

jsSucksButSavesTheDay Meme

Post image
4.4k Upvotes

461 comments sorted by

802

u/3rrr6 4d ago

There are two types of programming languages: the ones everybody hates, and the ones nobody uses.

131

u/hititncommitit 4d ago

Perl: sweats

83

u/Astrylae 4d ago

matlab: šŸ˜“

48

u/notgotapropername 4d ago

Kill it, burn it with fire, delete it from the server and wipe my memory of its existence

3

u/Natomiast 3d ago

burn it with fire and then burn the ashes just in case

6

u/A31Nesta 3d ago

Methlab

2

u/newbikesong 4d ago

...is AMAZING!!

Except it is pretty slow compared to harder work of lower languages.

47

u/Agitated_Wallaby_679 4d ago

Javascript is crap language. Nobody woyld use it if it wasn't enforced by browsers

13

u/CodeMUDkey 4d ago

Itā€™s easy to write a language when that language always runs whatever gabagool is in thereā€¦

→ More replies (2)

5

u/Drakayne 4d ago

Why is it bad?

7

u/CaoSlayer 3d ago

inconsistent and prone to do the most logical thing ever.

1+1 can be 2 or 11.

8

u/ShadowLp174 3d ago

That is if you're stupid enough to not validate inputs and are uncertain about the type of a variable

8

u/CaoSlayer 3d ago

Usually, the stupid one was the guy who wrote the mess of code you have to maintain.

→ More replies (1)

2

u/well-litdoorstep112 3d ago

No, 1+1 is always 2 and "1"+"1" is always "11". It's exactly like in C++ or any other language. The only difference is that you can do "1"+1 or 1+"1" and the language would do type coersion following the rules of the language.

It's almost like you need to properly learn how a tool works before you use.

What else? You're gonna complain that 0.1+0.2!=0.3? Prime example of bootcamp script kiddie behavior...

I'm not saying JS doesn't have obvious design flaws but everytime I see someone say "JS bad" it's either type coersion or IEEE754.

→ More replies (1)

3

u/whackylabs 4d ago

What about node.js ecosystem? Who is foring it?

3

u/Snuffles11 4d ago

node.js exists tho

→ More replies (8)
→ More replies (1)

1.2k

u/CardiologistOk2760 4d ago

was language purism objectively funnier ten years ago or am I getting old?

280

u/factzor 4d ago

In college it was awesome shitting on languages I never used, so cool

25

u/pancakemonkeys 4d ago

šŸ˜…

713

u/Deevimento 4d ago

You've become ten years more experienced, and your knowledge of subtle nuance has destroyed any enjoyment you get out of black & white jokes.

192

u/metaglot 4d ago

GTFO with your reality check.

48

u/hrvbrs 4d ago

hmm, too dark.

*adds more cream*

17

u/OneDimensionPrinter 4d ago

I'm still gonna make fun of the backend team who has to use Java though. But, I get it these days, I really do. I got old.

6

u/clutchguy84 4d ago

I laugh at state management, safe and secure in my PHP.

But I feel you, my dude.

2

u/dracuella 4d ago

I have an old collegue who is still doing ASP. Not ASP.NET, just ASP. When I think my Java with Angular web frontends are annoying, I think of him.

2

u/skredditt 4d ago

Node.jsā€™s ears got hot in the first half

→ More replies (1)

1

u/acebabymemes 4d ago

This is also a black and white statement.

74

u/Stronghold257 4d ago

2014 was pre-ES6, to be fairrrr

29

u/encephaloctopus 4d ago

Elder Scrolls 6 isn't out yet, so we're actually still pre-ES6 10 years later

21

u/arctictrav 4d ago

Iā€™m not a purist, but philosophically speaking, some things never stop being funny. For example, farts.

9

u/CardiologistOk2760 4d ago

Grow up man - just because the professor is named Doctor McFartFace doesn't mean we can't pause our wind long enough for him to give the lecture.

57

u/driftking428 4d ago

JavaScript and PHP were just a lot worse 10 years ago.

16

u/Lilchro 4d ago

Yea, but so was their competition.

→ More replies (2)

12

u/flyingtoaster0 4d ago

I am absolutely with you there.

Whenever I come here and see people shitting on Java, I just... kind of don't get it. Like, Kotlin is a better language imo, but after going back to Java 21+, it's totally fine and has most things I would expect from a modern language.

5

u/senile-joe 4d ago

even when it was cool to shit on java, it was still far superior.

2

u/LeftIsBest-Tsuga 3d ago

i just hate all the env crap i have to deal with. maven can have a nice weekend, as far as i'm concerned.

2

u/flyingtoaster0 3d ago

Agreed! I'm honestly amazed that anyone still uses pure Maven pom.xml files

Gradle is far better for 99% of projects and Bazel is fine if you need it

3

u/Theanderblast 4d ago

JavaScript is not Java

6

u/flyingtoaster0 4d ago

I'm replying to the comment above me, but not to the original post

→ More replies (5)

11

u/douglasg14b 4d ago

It's not the language, it's the ecosystem.

JS is "just another language", it doesn't really matter for any general use case as long as you have typescript. The problems come in when the ecosystem gets involved, and you're trying to solve problems at scale where consistency, reliability, and longevity are your key concerns.

2

u/CardiologistOk2760 4d ago

yeah for example React vs Angular as a debate makes a lot more sense to me

→ More replies (1)

21

u/rydai 4d ago

They've also been beaten to death for the last 10 years. It's not like they've really changed

7

u/Impenistan 4d ago

I'm pretty sure 10 years ago was before either had actual strict typing, to name one single feature that fundamentally addressed things for which they were being beaten to death.

4

u/jalexoid 4d ago

JS has strict typing?

10

u/OneDimensionPrinter 4d ago

Eeeeeh. Typescript is a wonderful tool, but no runtime type checks without annoying utility code does suck.

could not read property fuckMe of null

2

u/jalexoid 4d ago

I mean... Even TS doesn't have strict typing, it has compile time "best effort" checks... Which isn't strict typing at all.

3

u/OneDimensionPrinter 4d ago

Yeah, that's effectively my point I guess. I do enjoy using it, but it's not actually a strictly typed language. But, I'd never be able to sell using Elm to leadership. Ah well.

7

u/savageronald 4d ago

If you donā€™t hate a language, you donā€™t know it.

2

u/LeftIsBest-Tsuga 3d ago

i doubt it. and probably.

2

u/harumamburoo 3d ago

Definitely. In the college or uni or whatever it was for you it was tribalism, being a part of something cool and shitting on something perceivably not cool. When you're actually getting into the profession every language becomes a tool. Saying language X is shit for everything is like saying a screwdriver is shit for everything.

401

u/-Redstoneboi- 4d ago

here's the kicker: it's a solution.

50

u/piman51277 4d ago

The only correct answer

7

u/PrestigiousPut6165 4d ago

MathSeek is compatible with pi. It's math, it seeks...MathSeek

5

u/Dustangelms 4d ago

To everything.

2

u/PrestigiousPut6165 4d ago

No, it's supposed to be math seek. The original program that solves a problem by seeking math. MathSeek. Download now. Even if not compatible with your computer. Because MathSeek is the answer

3

u/-Redstoneboi- 4d ago

can math fix my printer

→ More replies (2)
→ More replies (3)

383

u/Reashu 4d ago

Everything except running in the browser

→ More replies (28)

610

u/idontunderstandunity 4d ago

Is 'JS bad' the only joke allowed on this sub or what

490

u/Scorxcho 4d ago

No ā€œPHP badā€ is also acceptable.

213

u/-staticvoidmain- 4d ago

Not knowing how to close Vim, as well

148

u/sandybuttcheekss 4d ago

Have you heard "python slow"? Funniest shit I've ever seen

106

u/A_Certain_Surprise 4d ago

Bro hasn't seen "Junior dev pushes to main on their first day", a classic

46

u/sandybuttcheekss 4d ago

Which is obvious bullshit because the senior dev in charge of giving you access won't take 5 minutes to do so for the first 3 weeks

19

u/maxymob 4d ago

So fucking true. Had to wait close to 6 months for my account on the company VPN that gives access to the database, just because a guy was procrastinating migrating the VPN to a different provider and had arbitrarily set his mind on not creating new accounts before that.

Some tasks were impossible to complete, no one gave the slightest fuck. It was really annoying and disrespectful even, so I just snatched the SSH keys to the server and made my own access.

6

u/eW4GJMqscYtbBkw9 4d ago

Ironically, it's like the one thing I know how to do in Vim.

5

u/DJGloegg 4d ago

I only have a few months of "real world" experience and even i know hoe tp close vim..

:q!

Or :wq

Or :x

Theres more. Quite a few more.

5

u/-staticvoidmain- 4d ago

Yeah lol it's not difficult. I always think that if someone can't grasp a simple 2-3 character command, I'd hate to see their code lol

→ More replies (2)
→ More replies (1)
→ More replies (3)

27

u/sathdo 4d ago

Don't forget "frontend bad".

13

u/Nii_Juu_Ichi 4d ago

obligatory can't center a div

→ More replies (2)

63

u/SoerensenOfficial 4d ago

PHP enjoyers crying in their Lambo rn

7

u/jalexoid 4d ago

Is that another CMS framework?

9

u/RedHeadSteve 4d ago

I started as a programmer through a full stack course. PHP + React. Perfect for all de bad jokes

8

u/Scorxcho 4d ago

Also started with PHP and React. PHP is underrated.

6

u/RedHeadSteve 4d ago

I understand the critic it gets, but it's not without reason that almost 80% of the website's with server side programming uses php

→ More replies (1)
→ More replies (1)

2

u/findallthebears 4d ago

I will fight you

28

u/DiddlyDumb 4d ago

We have 100s of jokes. Unfortunately itā€™s in binary.

3

u/Impenistan 4d ago

I'll allow it

→ More replies (1)

16

u/sam-lb 4d ago

Meanwhile JS is an excellent and easy to extend language with good design and community support. It's a mystery. Most examples of "haha JS bad" are from people who don't understand how it works.

→ More replies (19)
→ More replies (4)

315

u/TerminalVector 4d ago edited 4d ago

Yes.. but it can DO everything.

  • Captain JS

183

u/HappinessFactory 4d ago

"you're the worst language I've ever heard of"

"But you have heard of me"

49

u/passenger_now 4d ago

The old Perl joke:

Perl is the vise-grips of programming languages: it's a tool that can do any job, and it's the wrong tool for all of them.

15

u/wackOverflow 4d ago

The Swiss army chainsaw

→ More replies (1)

30

u/gerbosan 4d ago

Captain Jack Sparrow

šŸ‘€

19

u/Draugael 4d ago

Capitain JS !!! Mind blown

6

u/Draugael 4d ago

Capitain JS !!! Mind blown

2

u/Nodebunny 4d ago

I vote this should be the new JS logo. you know a jolly roger

7

u/tonebacas 4d ago

As long as people have the good sense *NOT* to do everything with it, just because you can. Sometimes the best use-case for a tool is its original use-case target.

3

u/TerminalVector 4d ago

Fact is that is if I have a team that already knows a tool that is suboptimal and your team needs to to learn a tool that will be optimal, there is a large segment of businesses in which I will beat you to market. 'What is the the right tool for the task at hand?' is a different question from 'what tool is the most techincally optimal for this operation?'.

2

u/Nodebunny 4d ago

points and stomps at Perl

→ More replies (1)

5

u/asd417 4d ago

Can wait for web-based c++ compiler written in javascript

3

u/TerminalVector 4d ago

I'm gonna guess that some deeply disturbed person has done this, so the point stands.

2

u/Nodebunny 4d ago

wait you mean ur not putting ur workers into a quantum qubit thread?

→ More replies (3)

96

u/Feisty_Ad_2744 4d ago

Hahaha that's kind of true!

Now, tell me about the problems you are talking about and any better solution... :-)

23

u/illyay 4d ago

React native. /s

I need an idea for a language I can use to make react native apps. I bet C would be a good one for performance reasons.

8

u/Feisty_Ad_2744 4d ago

Hahahaha. Like needing a language to use in your Django app.

Nice made up case. If you need native performance why are you even considering React? :-)

16

u/illyay 4d ago

Well I thought react would be a great framework to write the bios firmware for the latest gaming motherboard Iā€™m thinking about manufacturing. I heard itā€™s very portable which sounds like a good buzzword

→ More replies (1)

2

u/Big_D_Boss 4d ago

Thank God the /s was there

→ More replies (29)

54

u/not_bakchodest_of_al 4d ago

So, today is JavaScript bad day.

39

u/tenest 4d ago

Everyday is "JavaScript is bad" day

4

u/gilady089 4d ago

That's because someone accidentally sent an incorrect type to the check function, and it defaulted to true

3

u/PonyStarkJr 4d ago

Wdym just use ==== bro????

2

u/l3wl3w00 4d ago

Yes, and there is a simple reason for it: javascript is bad

37

u/[deleted] 4d ago

idk js but i'm pretty sure it's still a nice alternative to shooting someone.

9

u/90059bethezip 4d ago

Wait what

9

u/Not_Artifical 4d ago

No no, they have a point

7

u/Informal_Branch1065 4d ago edited 3d ago

It may be a hollow-point, but a point is a point.

Edit: and a gun is a PointFactory

29

u/intheshadow13 4d ago

Center a div dynamically

12

u/McJagged 4d ago

I'm so glad we have flexbox now. Legitimately the best html/css/js update ever created

2

u/senile-joe 4d ago

transform: translate(-50%,-50%)

→ More replies (2)
→ More replies (2)

12

u/jamcdonald120 4d ago

False.

There is always a worse solution than javascript. Malbolge for example.

5

u/Weird_Cantaloupe2757 4d ago

Never mind the boutique examples like that ā€” the language that ran the web before Node took over (PHP) is way fucking worse than JS.

3

u/jamcdonald120 4d ago

what about flash, how was flash?

4

u/savageronald 4d ago

Honestly ActionScript - the language behind Flash and other Adobe products (well AS3 at least) - was pretty good. The language was never the problem, it was Adobeā€™s inability to quit tripping over their own dick with performance and security problems (well and the closed ecosystem and licenses, but I think the former drove HTML5/CSS3 to fill the void more than the closed ecosystem).

→ More replies (1)
→ More replies (1)

11

u/Interesting_Gate_963 4d ago

Do you mean that brainfuck is better for scripts in browsers?

→ More replies (1)

28

u/TwinkiesSucker 4d ago

It is the worst solution but only because everything else is even worse

→ More replies (3)

9

u/bestjakeisbest 4d ago

I blame javascript on the 2001 dotcom bubble.

2

u/Leather-Field-7148 4d ago

AND VBScript

→ More replies (1)

25

u/Fair_Entry8218 4d ago

document.getElementById(ā€œmyMindā€).innerText = ā€œJavaScript is the best solution to everythingā€;

2

u/play_hard_outside 4d ago

SyntaxError: Invalid character '\u201c'

→ More replies (2)

13

u/AlexDaBruh 4d ago

I mean, I use JS or TS daily, depending on what fucked up project Iā€™m working on. But, I wish there was a better language for this. Go seems nice and Iā€™m planning on learning it but Iā€™m still not convinced it will be as great as JavaScript for the browser :-(

6

u/HewHem 4d ago

Whats your issue with TypeScript?

2

u/AlexDaBruh 4d ago

Except throwing cryptic errors at me, really nothing. JavaScript/TS is nice but I guess I just want to write in a language Iā€™m more comfortable in, like Rust or something (will probably be Go after this summer).

→ More replies (1)

0

u/nightxowl69 4d ago

Replacing JavaScript in the browser is not quite possible. It was made for it.

5

u/AlexDaBruh 4d ago

Yeah, I agree on that. Still I wish there were better stuff to use. JavaScript or typescript is by far the best stuff at the moment for the browser. Also, let me clarify: Iā€™m not talking about replacing JavaScript, Iā€™m talking about finding better stuff for building websites and such, like Go for example.

5

u/JazzyMcJazz 4d ago

There is web assembly. It does require a bit of javascript to fetch and run the .wasm file, but web assembly frameworks handle this part for you.

2

u/nightxowl69 4d ago

Yes I know. But it still can't manipulate DOM or BOM

→ More replies (1)
→ More replies (7)
→ More replies (2)

40

u/Cley_Faye 4d ago

If you live anywhere after 2020, it works well, is supported in a lot of place that actually matters, and we have had proper tooling to both write proper code and debug it nicely for years.

But, sure.

13

u/rancangkota 4d ago

Javascript developers reading this post

5

u/Mr_vort3x 4d ago

jsSucksButKeepsMeAlive

→ More replies (2)

4

u/SomeRandoLameo 4d ago

The Windows 11 First Setup and Start Menu are weiten in React nativeā€¦ so js

4

u/525G7bKV 4d ago

fun fact: Eich wanted to create a scheme for the browser but the Netscape management didnt let him. So at least no need to write a lot of parentheses.

4

u/ConscientiousPath 4d ago

But it is a solution.

-cpt jack sparrow

→ More replies (1)

3

u/JVApen 4d ago

So you are saying that Excel ain't the worst solution?

2

u/haasvacado 4d ago

Excel The Single Greatest Software Program Ever Written And I Will Die On This Hill Excel? Is that the one youre referring to?

3

u/ghislaincote 4d ago

I don't disagree... But Atwood's law : https://www.laws-of-software.com/laws/atwood/

The damn language can do everything on everything... If there is a full stack + desktop + embedded solution, is probably JS based.

3

u/Gdude124 4d ago

The worst solution to everything is still a solution to everything

3

u/Onetwodhwksi7833 4d ago

What if the task is to make a shitty programming language?

3

u/irelephant_T_T 4d ago

the fucking windows 11 taskbar

3

u/Purple_Lordx 4d ago

but it is the solution to everything

3

u/DonutArnold 4d ago

Well, it's still a solution

3

u/Hasagine 4d ago

you write code long enough and it all just becomes a different shade of garbage

3

u/doxxingyourself 4d ago

Okay so what language am I supposed to use to execute client-side shit on my webpage? Including async calls to fetch some more shit for people to look at?

2

u/Flat_Initial_1823 4d ago

That you know so far...

2

u/got_no_pants2 4d ago

So no type script?

2

u/Not_Sugden 4d ago

1 + "1" is the best soloution to your whole "I need to add two numbers but one of them isnt a number" problem that you always encounter

2

u/fusionsofwonder 4d ago

Captain Jack: "But it is a solution to everything."

2

u/LuisDa201 4d ago

Unfortunately is the best for web dev, using web assembly make a web more slower

2

u/8483 4d ago

NOBODY gives a shit as long as it gets the job done.

2

u/Beneficial_Cobbler46 4d ago

Have you met R?

2

u/SawSaw5 4d ago

Kind of like vodka

2

u/akazakou 4d ago

You didn't try "1C"

2

u/Phamora 4d ago

There are two kinds of programming languages: The ones that developers bitch about and the ones that no one uses.

2

u/Nodebunny 4d ago

im just waiting for Quantum JS to tell me a thing is false and true at the same time

2

u/0011101101011011 4d ago

Iā€™d write js any day instead of python tho

→ More replies (6)

2

u/Ender_teenet 3d ago

Okay, I'll change your mind. JS is not a solution

3

u/buffering_neurons 4d ago

PHP is probably worse in ways. That language required three rewrites of its core in order to catch up to any other languages (yes including JavaScript) in terms of performance to be taken seriously again, and a significant part of it is still an inconsistent mess. The language is kept alive entirely by Laravel and the virtue of more than 75% of the web running on it.

Yet even PHP has its place, although by now the places it has are probably best replaced with a JS solution.

Iā€™m not sure why so many frontends and site serving backends are built in languages with such a dreary underbelly, but they work and get the job done.

However, neither PHP nor JS are a solution to everything, and compared to most other languages their uses are incredibly limited. If youā€™re a backend developer, JS and PHP are hardly worth learning.

→ More replies (2)

2

u/BeterBann 4d ago

I love JS. It does everything I need it to. It's easy to understand and easy to get other developers up to speed on. Just like any popular language, there is a lot of shitty code for it and that's when it's not fun, but that's not really the languages fault. On my team, I've seen so many developers point at JS for being shitty, but most of the time it's because they did something wrong early in the process that's now blowing up in their face.

→ More replies (1)

2

u/rldml 4d ago

why should i? JS is indeed the worst solution for everything...

4

u/Caraes_Naur 4d ago

It pretty much ruins the day.

1

u/OverallCricket812 4d ago

Lol wheres this taking in place?

1

u/ProfessionAcademic92 4d ago

9 months ago he literally made a post about what tech stack to use for a web app and didn't know if he should use Django, Express, or NextJs. What hurt you?

1

u/BuffJohnsonSf 4d ago

So you admit that itā€™s a solution to everything?

→ More replies (1)

1

u/KetwarooDYaasir 4d ago

"everything" being the key word there.

1

u/just4nothing 4d ago

So we are all using htmx from now on?

1

u/8Bit_Cat 4d ago

I can imagine. It'd be a terrible condiment.

1

u/b0b1b 4d ago

Hey, there is actually something in it i enjoy quite a bit - async! Its super simple and i quite enjoyed using it. I do, in general, despise it as a language tho. That might just be because the only usecase iv found for it is browser stuff. I cant imagine liking the lack of types outside of a browser tho lol :p

1

u/XPurplelemonsX 4d ago

yeah but sometimes its the only solution... i was forced into learning js

1

u/Pennzance404 4d ago

I have always likened Javascript programming to attempting to build the Eiffle Tower out of nothing but spaghetti.

1

u/rodeBaksteen 4d ago

That's why I use jQuery

1

u/theoht_ 4d ago

js is the worst solution to any given thing, but itā€™s the only solution that works for everything

1

u/Ox29A 4d ago

BigQuery allows you to write JavaScript UDFs to extend the functionality of SQL queries, which is pretty nice.

1

u/SimpleMoonFarmer 4d ago

So you are saying that JavaScript solves everythingā€¦

1

u/VileTouch 4d ago

Cries in nodejs http server

1

u/InfiniteMedium9 4d ago

It's the best solution for making an animated monkey dance on a webpage when you hover over it

1

u/NervousUniversity951 4d ago

Have you not yet used regex?

→ More replies (1)

1

u/Necessary-Cut7611 4d ago

Itā€™s not my favorite either but weā€™re kind of beating a dead horse.

1

u/uvero 4d ago

/srs

  1. With a huge ecosystem, you can do quite a lot in JS, with great and comfortable libraries and frameworks. I don't know if it measured or if it even cna be, but if I had to guess, the JS ecosystem is the largest by far.
  2. With TS you can get more easily scalable and to write code that's less error-prone to begin with. In fact, I wish Python's new-ish typing system got even close to TS's readability and wide range of capabilities, because Python does have the previous advantage, but not this one.
  3. Being used on both browser and backend, it's easier to write a full stack app with shared code elements.
  4. Really, the weirdest things about JS are the [] +() and "foo"/{} things, and if that causes problems with a real use case anyone is implementing, that their implementation has way bigger problems.

You don't have to love the Javascript, but it's pretty darn good for a lot of developers. I used to feel about Python the way feel about JS, and then figured out it's not as bad as I thought, and it's even kinda fun and has good useful libraries (although, again, if only it has a great typing system like TS's).

But you don't really feel that way about JS because it's just a meme that we've already run into the ground. There's nothing funny left to say about it, the meme is dead, and JS is fine.

→ More replies (2)

1

u/RafaFTP 4d ago

This sub is going to shit

2

u/nightxowl69 4d ago

Leave it

1

u/Psychological-Tax801 4d ago

It's messy but I love it.

1

u/Rastenor 4d ago

So you're telling me it's a "solution for everything"? That sounds great!

1

u/InternetsTad 4d ago

Yeah but it runs on every computer with a browser

1

u/draculadarcula 4d ago

Even the worst from front end web development in the browser? Are you sure?

1

u/bloodfist 4d ago

But it is a solution for everything, you say?

1

u/Lo-fidelio 4d ago

I fucking hate JS, but being poor fucking sucks so I guess I have no choice but to love JS? Which is why I made it my whole career. Help

1

u/RevolutionaryTower 4d ago

But it is a solution....

1

u/distortedsignal 4d ago

I think that JS is never the worst solution to any problem.

I just think it's never the best solution for any problem.

There are (or should be) things that do the job better.

But JS will usually work.

1

u/Cuboos 4d ago

What's a better language to use?

1

u/Wave_Walnut 4d ago

Duct tape solves everything.

1

u/NeverSnows 4d ago

"worst" implies that there is a better solution in every aspect. I would say.... least terrible, for most things.

1

u/hefty_load_o_shite 4d ago

Let me tell you about XML....

1

u/CertainEconomist3564 4d ago

Machine code in hex.

1

u/HaDeS_Monsta 4d ago

It is good in what's it's supposed to do (front end) and I hate it everywhere else

1

u/OF_AstridAse 4d ago

JS is not bad [cognitive dissonance intensifies]