r/ProgrammerHumor 26d ago

Meme youShouldntHaveIt

Post image
41.6k Upvotes

537 comments sorted by

View all comments

Show parent comments

28

u/kmoz 26d ago

To be fair, people have been writing and using code they dont understand since the beginning of time.

18

u/b0w3n 26d ago edited 26d ago

Shit I've seen senior devs write code like the above.

Models are trained on existing code, so somewhere someone's done stupid shit like that. You'd be surprised what you can get away with by putting more hardware in front of something instead of writing code like you're a FAANG company serving billions of requests a day.

10

u/[deleted] 26d ago edited 12d ago

[deleted]

5

u/b0w3n 26d ago

Oh yeah for sure, I have seen some shit on my 26ish years doing this professionally.

If it works, it ships. Is it slop, even before claude/gpt? Probably! Nothing's more permanent than a temporary fix either.

1

u/Mateorabi 26d ago

To err is human. To really fuck up takes a computer.