401
At least it works (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] WhiskyTangoFoxtrot@lemmy.world 21 points 1 week ago

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 1 week ago

it's probably so much worse

[-] jaybone@lemmy.zip 6 points 1 week ago

What is refactoring?

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

Object oriented programming was a mistake

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

Programmer Humor

24993 readers
387 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