this post was submitted on 21 Jan 2024
1347 points (99.4% liked)
Programmer Humor
19512 readers
418 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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!