this post was submitted on 13 Apr 2025
124 points (77.0% liked)

Programmer Humor

22447 readers
1698 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 1 day ago* (last edited 1 day ago)

@sabrinaesaquino

Stop comparing programming languages

Python is VERSATILE

JavaScript is POWERFUL

Ruby is ELEGANT

C is ESSENTIAL

C++

Java is ROBUST

Out of all the programming languages, C++ is definitely one of them.

[–] [email protected] 14 points 1 day ago (1 children)

Python should be one of the chaotics.
You can even dynamically create global variables in there.

[–] [email protected] 5 points 1 day ago (1 children)

Or stick a new variable onto the instance of a class 🤯

[–] [email protected] 4 points 1 day ago (2 children)

or return values for properties that don't exist, and only get created on access!

I love python.

[–] [email protected] 0 points 22 hours ago

It's like having a PHP webserver inside a class

[–] [email protected] 1 points 1 day ago

Or have variables inside a loop hoisted up in the function. Fun when you capture them with lambdas.

[–] [email protected] 9 points 1 day ago (1 children)

C++ good? Shiggity diggity

[–] [email protected] 6 points 1 day ago (1 children)

Tell me op never did c++ without telling me op never did c++

load more comments (1 replies)
[–] [email protected] 18 points 2 days ago* (last edited 2 days ago)

C++ is chaotic goodl, C is lawful good in my opinion

[–] [email protected] 51 points 2 days ago (8 children)
[–] [email protected] 3 points 1 day ago (1 children)

Someday the concepts will come and fix all of this. It has been foretold.

[–] [email protected] 1 points 1 day ago

Concepts are already here - (as of now) they fix a subset of this, and errors messages can still be extremely long.
They're less like "here's every single template parameter of the involved types" and more like "this template thingy has many specializations with different constraints, here's a list of all of them and why none of them are satisfied with your parameters"

[–] [email protected] 3 points 1 day ago (1 children)
[–] [email protected] 4 points 1 day ago

Template-C++ is not C++ after all /s

load more comments (6 replies)
[–] [email protected] 40 points 2 days ago* (last edited 2 days ago) (2 children)

No way Bash is lawful, or Malbolge is chaotic... And no way C++ is lawful either.

Did you just throw the languages around at random? At least Perl fell on the right place...

[–] [email protected] 11 points 2 days ago* (last edited 2 days ago)

ADA should be the lawful good.

Bash is chaotic neutral.

Java is lawful neutral.

Javascript fits ok as chaotic evil.

Move ASM to neutral evil.

And maybe f77 as lawful evil.

load more comments (1 replies)
[–] [email protected] 51 points 2 days ago (3 children)

At no point should C++ be considered "lawful" or "good". Haskell would be the best.

[–] [email protected] 21 points 2 days ago (1 children)

Haskell is where hope and sanity go to die.

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 53 points 2 days ago (1 children)

Some of those color choices were chaotic evil too

load more comments (1 replies)
[–] [email protected] 8 points 1 day ago (2 children)

I haven't used PHP in a while (10+years) but I didn't think it was that frustrating as its reputation seems to imply today. I remember their docs all had examples and I found that pretty useful.

[–] [email protected] 2 points 1 day ago (1 children)

For what I remember, it was just a normal interpreted language but you had to put "$" everywhere.

[–] [email protected] 2 points 1 day ago

It can be pretty frustrating when dealing with old code bases. However its introducing a lot of really great features, so if you've got the time to either start a new project or rewrite with the more modern features you'll be fine.

[–] [email protected] 2 points 1 day ago (2 children)
[–] [email protected] 3 points 1 day ago (1 children)

I'd put it in the lawful category. 4 space indentation and other strict formatting requirements chaffs me to no end, just like a hard-ass teacher requiring name and student number in some specific and strict format at the top of a page.

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)

Hard for me to categorize any loosely typed language as lawful personally. You are right though, semantic whitespace is definitely more lawful (and imo definitely fucking evil)

[–] [email protected] 2 points 1 day ago (1 children)
[–] [email protected] 1 points 1 day ago

Loosely typed with semantic whitespace definitely falls under evil in my book

[–] [email protected] 7 points 1 day ago (1 children)

PHP has weird decisions but in the end it's a good back end

[–] [email protected] 5 points 1 day ago (2 children)

I think the front and back end of PHP are pretty similar. They are both the same letter P after all.

[–] [email protected] 1 points 1 day ago

i needed to switch devices to get this joke, and man, shut up haha

[–] [email protected] 1 points 1 day ago
[–] [email protected] 8 points 2 days ago (4 children)

PHP has got a lot of new features in the language that makes it a little bit like c# now, so it's not that bad anymore :P

load more comments (4 replies)
[–] [email protected] 12 points 2 days ago* (last edited 2 days ago) (4 children)

F tier meme.

"Haha JavaScript sucks'" is the easiest way to spot someone who spends more time on programming subreddits then they do programming.

[–] [email protected] 19 points 2 days ago* (last edited 2 days ago)

Well, JS does suck. It doesn't matter how much time I spend programming, this truth will stand

[–] [email protected] 4 points 1 day ago

This but with PHP, kinda. It isn't my favorite language/really good, and at some point in time it deserved the hate, but it has come a long way.

[–] [email protected] 8 points 2 days ago (1 children)

JS is just insane. Learning it took far more of my time than any other language, and honestly, I'm tempted to say it's not even a single language because of all the frameworks and non-standard libraries.

load more comments (1 replies)
[–] [email protected] 2 points 1 day ago (1 children)

JS isn't even on here though. and whoever made this meme knew enough to include two Esolangs (though I'm insulted they included nary a single 'funge.)

[–] [email protected] 2 points 1 day ago

It's in the title

[–] [email protected] 12 points 2 days ago* (last edited 2 days ago)

I would have put assembly as true neutral

load more comments
view more: next ›