this post was submitted on 10 Feb 2026
294 points (95.4% liked)

Programmer Humor

29671 readers
785 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 13 points 1 day ago* (last edited 1 day 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?

[–] jason@discuss.online 8 points 16 hours ago (1 children)

Yeah... Wheres the AbstactAnimalFactoryManager?

[–] Eufalconimorph@discuss.tchncs.de 2 points 14 hours ago

I always knew Mondrian was painting cow production machines.

[–] ulterno@programming.dev 9 points 17 hours 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.