this post was submitted on 22 Jun 2023
18 points (100.0% liked)

Programming Horror

1877 readers
1 users here now

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there's also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @[email protected]

Rules

Credits

founded 1 year ago
MODERATORS
 

no words

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 13 points 1 year ago

I can only pray that that's some (bad) ORM-generated code because that's the only way I can bear to keep breathing.

[–] [email protected] 6 points 1 year ago

The only explanation is that this was written on a TV.

[–] [email protected] 4 points 1 year ago

that's exactly why I'm not a fan of automatically generated DB backends data frameworks. the abstraction often can't handle edge cases and looking under the hood is often a horror

[–] [email protected] 1 points 9 months ago

What idiot wrote that one by hand