Reminds me of this file. This file's only 1,300-ish lines, so not on the same scale at all, but the vibe has some amount of similarity. Except the one I linked here apparently is intended for serious real-world use.
Programming Horror
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 @[email protected]
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
Overloading a createArray up to 249 times... I can only assume the person was paid per character typed.
If you don't have to apologize for the class in its documentation, then it wasn't worth writing in the first place.
LOL. That could be its own post in this community.
Thanks for sharing that.
One of the codebases on my team used to deploy everything with a 26,000 line Bash script
That's quite bashful
Part of the reason I got hired at my current job was because I solved their coding challenge in bash (which was my strongest scripting language at the time, many years ago).
My solution was definitely not 26,000 lines, though.
edit: closing -> coding
Yandere Simulator has/had a smaller, but similar file with a mountain of if
statements. It was meant to power the NPCs' AI.
It's what happens when someone takes the joke "AI is just a bunch of if-statements" too literal.
I want to see the companion program that queries the size of your number and then decides which part of the executable to mmap. It’d be so much faster and just require one or two more pieces in the analysis pipeline. We can totally set up a k8s cluster for this, right?
"Add more days."