this post was submitted on 13 Apr 2025
130 points (77.5% liked)

Programmer Humor

22611 readers
1168 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
[–] lmmarsano@lemmynsfw.com 16 points 6 days ago* (last edited 6 days 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.

[–] BlueKey@fedia.io 15 points 6 days ago (2 children)

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

[–] masterspace@lemmy.ca 2 points 2 days ago

Most overrated language imho.

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

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

[–] _stranger_@lemmy.world 4 points 6 days ago (2 children)

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

I love python.

[–] ulterno@programming.dev 1 points 5 days ago

It's like having a PHP webserver inside a class

[–] BlueKey@fedia.io 1 points 6 days ago

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

[–] twice_hatch@midwest.social 8 points 6 days ago (1 children)

C++ good? Shiggity diggity

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

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

[–] Valmond@lemmy.world 1 points 6 days ago

C++ is the wizard, the nitroglycerin glass vial type.

[–] PieMePlenty@lemmy.world 8 points 6 days ago (3 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.

[–] masterspace@lemmy.ca 1 points 2 days ago

The literal entirety of Facebook / Instagram / Whatsapp's backend is built on PHP.

I'm not saying that was a good choice, but it does guarantee a lot of resources flowing to it's development.

[–] Matty_r@programming.dev 3 points 6 days 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.

[–] Valmond@lemmy.world 2 points 6 days ago (1 children)

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

[–] OmegaLemmy@discuss.online 8 points 6 days ago (1 children)

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

[–] Kissaki@programming.dev 5 points 6 days ago (2 children)

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

[–] OmegaLemmy@discuss.online 1 points 6 days ago

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

[–] Colloidal@programming.dev 1 points 6 days ago
[–] jia_tan@lemmy.blahaj.zone 2 points 6 days ago
[–] pixeltree@lemmy.blahaj.zone 1 points 6 days ago (2 children)
[–] ReluctantMuskrat@lemmy.world 3 points 6 days 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.

[–] pixeltree@lemmy.blahaj.zone 1 points 6 days ago* (last edited 6 days 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)

[–] OmegaLemmy@discuss.online 2 points 6 days ago (1 children)
[–] pixeltree@lemmy.blahaj.zone 1 points 6 days ago

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

load more comments
view more: next ›