397
At least it works (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] WhiskyTangoFoxtrot@lemmy.world 20 points 4 weeks 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 10 points 4 weeks ago

it's probably so much worse

[-] jaybone@lemmy.zip 7 points 4 weeks ago

What is refactoring?

[-] leftytighty@slrpnk.net 3 points 4 weeks ago

Object oriented programming was a mistake

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

Programmer Humor

25457 readers
1013 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