this post was submitted on 30 May 2024
388 points (94.3% liked)

Programmer Humor

32710 readers
102 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] 69 points 7 months ago (3 children)

Objects are fine.

OOP sucks.

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

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

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

He died of XML factory injection pattern exposure.

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

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

[–] dabu 21 points 7 months ago

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

[–] marcos 7 points 7 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.

[–] erp 4 points 7 months ago

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

[–] erp 2 points 7 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.