I can only pray that that's some (bad) ORM-generated code because that's the only way I can bear to keep breathing.
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
- Keep content in english
- No advertisements (this includes both code in advertisements and advertisement in posts)
- No generated code (a person has to have made it)
Credits
founded 1 year ago
MODERATORS
The only explanation is that this was written on a TV.
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
What idiot wrote that one by hand