this post was submitted on 30 May 2024
385 points (94.5% liked)

Programmer Humor

32371 readers
566 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
[–] eestileib@sh.itjust.works 70 points 5 months ago (3 children)

Objects are fine.

OOP sucks.

[–] palordrolap@kbin.social 30 points 5 months ago (3 children)

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

[–] MajorHavoc@programming.dev 37 points 5 months ago (1 children)

He died of XML factory injection pattern exposure.

[–] xmunk@sh.itjust.works 4 points 5 months ago

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

[–] dabu@lemmy.world 21 points 5 months ago

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

[–] marcos@lemmy.world 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.

[–] erp@lemmy.world 4 points 5 months ago

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

[–] erp@lemmy.world 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.