case when horror then omg else jfc end fml
2y 11mon ago by programming.dev/u/giantrectangle in programming_horror@programming.dev from programming.dev
no words
I can only pray that that's some (bad) ORM-generated code because that's the only way I can bear to keep breathing.
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
The only explanation is that this was written on a TV.
What idiot wrote that one by hand