this post was submitted on 30 May 2024
381 points (94.2% liked)

Programmer Humor

31250 readers
1554 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] eestileib@sh.itjust.works 70 points 1 month ago (3 children)

Objects are fine.

OOP sucks.

[–] palordrolap@kbin.social 30 points 1 month ago (3 children)

This has bell curve meme vibes. I'm just not sure what the middle guy would be saying.

[–] MajorHavoc@programming.dev 36 points 1 month ago (1 children)

He died of XML factory injection pattern exposure.

[–] xmunk@sh.itjust.works 4 points 1 month ago

If only he had a briefcase of XSLTs to make sure the XML was safe first.

[–] dabu@lemmy.world 21 points 1 month ago

It would say Prototype­Filter­Stub­Facade­Bridge­Decorator­Task­Request­Map­Event­Exporter­Info­Model­Request­Iterator

[–] marcos@lemmy.world 7 points 1 month ago (1 children)

I’m just not sure what the middle guy would be saying

"I hate inheritance! I hate inheritance! I hate inheritance! I hate inheritance!"

But well, inheritance goes brrrrrr.

[–] erp@lemmy.world 4 points 1 month ago

We all get disappointed when we don't inherit anything useful...just a garage full of confusion

[–] erp@lemmy.world 2 points 1 month ago

Inheritance starts to suck > 1 level deep. Multiple inheritance starts to suck at the point people discuss adding it to a language, or a few femtoseconds after the big bang, whichever comes first.