this post was submitted on 10 Feb 2026
309 points (95.8% liked)

Programmer Humor

29716 readers
1190 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
you are viewing a single comment's thread
view the rest of the comments
[–] NigelFrobisher@aussie.zone 15 points 3 days ago* (last edited 3 days ago) (2 children)

Examples of inheritance hierarchies are always totally useless shit like this - what if a cow is an animal; What if a cow is a mammal, all mammals are animals and all mammals have a lactate() method?

[–] ulterno@programming.dev 10 points 3 days ago

Because any real life use that might come to mind would probably be related to some NDA protected database in a company.
And it is otherwise hard to think of anything at the spot, so just go with what the first example on the web-search came up with.

[–] jason@discuss.online 9 points 3 days ago (1 children)

Yeah... Wheres the AbstactAnimalFactoryManager?

I always knew Mondrian was painting cow production machines.