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

Programming Horror

1879 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 @Ategon@programming.dev

Rules

Credits

founded 1 year ago
MODERATORS
 

no words

top 4 comments
sorted by: hot top controversial new old
[–] Deebster@lemmyrs.org 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.

[–] Mesa@programming.dev 6 points 1 year ago

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

[–] naeap@sopuli.xyz 5 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

[–] HelloHotel@lemmy.world 1 points 9 months ago

What idiot wrote that one by hand