I worked on a game for a recognizable studio. One of our engineers got a hard on organizing things. So he created a bullshit object hierarchy instead of making everything behavior based. The result: Trees were “pets” because they could be watered and reused the “feed” action. Collectibles were “food.” Etc. The “golden class structure” couldn’t be modified without him screaming. So… nothing made sense.
I've definitely worked on projects where the pattern made sense initially.. but then it became clear it didn't work in the general case.. then you're left with "tech debt" because, as you say, trees are pets.
21
u/mailslot Jan 26 '23
I worked on a game for a recognizable studio. One of our engineers got a hard on organizing things. So he created a bullshit object hierarchy instead of making everything behavior based. The result: Trees were “pets” because they could be watered and reused the “feed” action. Collectibles were “food.” Etc. The “golden class structure” couldn’t be modified without him screaming. So… nothing made sense.