this post was submitted on 30 May 2024
393 points (94.6% liked)

Programmer Humor

32380 readers
1310 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 71 points 5 months ago (3 children)

Objects are fine.

OOP sucks.

[–] [email protected] 31 points 5 months ago (3 children)

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

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

He died of XML factory injection pattern exposure.

[–] [email protected] 4 points 5 months ago

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

[–] [email protected] 22 points 5 months ago

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

[–] [email protected] 7 points 5 months 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.

[–] [email protected] 4 points 5 months ago

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

[–] [email protected] 2 points 5 months 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.