this post was submitted on 05 Jul 2025
406 points (100.0% liked)

Programmer Humor

25026 readers
1461 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
[–] [email protected] 21 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.

[–] [email protected] 10 points 1 week ago

it's probably so much worse

[–] [email protected] 7 points 1 week ago

What is refactoring?

[–] [email protected] 3 points 1 week ago

Object oriented programming was a mistake