this post was submitted on 05 Jul 2025
404 points (98.8% liked)

Programmer Humor

25098 readers
1679 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
[–] WhiskyTangoFoxtrot@lemmy.world 21 points 2 weeks ago (3 children)

They probably thought that all their NPCs would be human when they started the game, so they named their NPC class Human. Then they decided to add dogs, but needed them to do a lot of the same things the human NPCs did, so they made the Dog class a subclass of Human.

[–] dandelion@lemmy.blahaj.zone 10 points 2 weeks ago

it's probably so much worse

[–] jaybone@lemmy.zip 6 points 2 weeks ago

What is refactoring?

[–] leftytighty@slrpnk.net 3 points 1 week ago

Object oriented programming was a mistake