this post was submitted on 21 Jan 2024
39 points (100.0% liked)
Programmer Humor
19593 readers
445 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?
Feels like my old job.
Are there triggers in the sql database? It's too easy otherwise
Project B is just called neural network
Actually, I bet you could implement that in less. You should be able to legibly get several weights in one line.