this post was submitted on 05 Jul 2025
385 points (98.7% liked)

Programmer Humor

24980 readers
1093 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 19 points 1 week 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 8 points 1 week ago

it's probably so much worse

[–] jaybone@lemmy.zip 4 points 1 week ago

What is refactoring?

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

Object oriented programming was a mistake