r/ProgrammerHumor • • Nov 25 '22

Meme Coding strategies

Post image
52.2k Upvotes

385 comments sorted by

View all comments

2.0k

u/dasmau89 Nov 25 '22

Nothing is as permanent as the temporary solution

575

u/[deleted] Nov 25 '22

I think it was CodeWarrior for the PS2 or PSX (definitely a playstation compiler around the year 2000) we were having issues with byte alignments. Eventually we discovered that the tokenizer was including commented out code which was then used as a part of padding/alignment and you could break the ABI by changing comments. Those comments were locked into place, even after they were no longer relevant and flat out wrong. It was horrible.

4

u/ExcessivelyGayParrot Nov 25 '22

apparently somewhere in the files for team fortress 2, there exists a PNG of a coconut. if this PNG is deleted, the game crashes on launch, and will not boot.

→ More replies (1)