JPDev@programming.dev to Programmer Humor@programming.dev · 11 months agoInfinite Loopprogramming.devimagemessage-square69fedilinkarrow-up11.35Karrow-down18
arrow-up11.34Karrow-down1imageInfinite Loopprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square69fedilink
minus-squarejubilationtcornpone@sh.itjust.workslinkfedilinkEnglisharrow-up25·11 months agoProject A: Has 6 different implementations of the same complex business logic. Project B: Has one implementation of the complex business logic… But it’s ALL in one function with 17 arguments and 1288 lines of code. “The toast always lands the buttered side down.”
minus-squareTheFerrango@lemmy.basedcount.comlinkfedilinkarrow-up7·11 months agoOnly 1288 lines? Can I raise you a 6000+ lines stored procedure that calls to multiple different sql functions that each implements a slightly different variation of the same logic?
minus-squareMiaou@jlai.lulinkfedilinkarrow-up4·11 months agoAre there triggers in the sql database? It’s too easy otherwise
minus-squareTheFerrango@lemmy.basedcount.comlinkfedilinkarrow-up3·11 months agoThere are on delete triggers to fix circular dependencies when deleting rows, triggers on update and triggers on row creation!
Project A: Has 6 different implementations of the same complex business logic.
Project B: Has one implementation of the complex business logic… But it’s ALL in one function with 17 arguments and 1288 lines of code.
“The toast always lands the buttered side down.”
Only 1288 lines? Can I raise you a 6000+ lines stored procedure that calls to multiple different sql functions that each implements a slightly different variation of the same logic?
Are there triggers in the sql database? It’s too easy otherwise
There are on delete triggers to fix circular dependencies when deleting rows, triggers on update and triggers on row creation!