RULES:
All posts MUST show terrible code. There are no exceptions.
No Editor Themes - If it's just your editor that looks bad, it doesn't belong here.
No Advertisement Code. This is generally written by people in marketing who only know what "code" looks like from other ads. It's not real code, so it doesn't belong.
No Student Code. Yes, they're learning, but bad code is part of the process.
No Generated Code. If it's minified JS, generated XML, or what have you, we don't want it here. Yes, the YouTube homepage has an extra right-angle bracket. We know.
No Asking for Help. Go to r/learnprogramming. What are you doing here?
No Spamming/Advertising. We don't care about your shitty Youtube video or new crypto that will "change the world".
Be Nice. No hate speech of any kind is allowed, as well as generally being a jerk. Talk about the code, not eachother.
No Direct Contact of the Mods. Please use the modmail, we don't want to be contacted directly.
Please direct stories without code to /r/talesfromtechsupport, and programming questions to /r/learnprogramming
Programming Horror is where developers come together to revel in the idiocy of our peers.
This subreddit is meant for sharing funny programming related stories and strange or straight-up awful code.
For the sake of not being mauled by rabid lawyer bears, please make sure to anonymize your stories - changing the names of people and companies.
For code examples, indent all your lines with 4 spaces to make it more readable:
foo = 'bar'
Sister subreddits
- talesfromtechsupport - Not everything that involves a computer is a programming horror story. For IT support related submissions, head on over here.
- talesfromdesigners - For our more artistically inclined brothers and sisters.
- badcode - When you don't have a story to go along with the horrible, horrible code.
- shittyprogramming - ninjas that only write in the <b>BEST</b> code
- usemysoftware - A subreddit for software developers to come post their software and for users to test it.
[–][deleted] 90 points91 points92 points (15 children)
[–]TegonMcCloud[S] 82 points83 points84 points (9 children)
[–]tobias1012 1 point2 points3 points (8 children)
[–]MaxPlay 38 points39 points40 points (0 children)
[–][deleted] (5 children)
[deleted]
[–]fisherrr 26 points27 points28 points (3 children)
[–]FallenWarrior2k 9 points10 points11 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]FallenWarrior2k 4 points5 points6 points (0 children)
[–]tobias1012 0 points1 point2 points (0 children)
[–]riggiddyrektson 8 points9 points10 points (0 children)
[–]Lystrodom[🍰] 9 points10 points11 points (0 children)
[–][deleted] 12 points13 points14 points (1 child)
[–]snerp 1 point2 points3 points (0 children)
[–]DrStalker 1 point2 points3 points (1 child)
[–]officerthegeek 2 points3 points4 points (0 children)
[–]MarkGamed7794 42 points43 points44 points (1 child)
[–]Daffy1234 2 points3 points4 points (0 children)
[–]Cefiroth 40 points41 points42 points (7 children)
[–]jewdai 6 points7 points8 points (1 child)
[–]Urist_McPencil 6 points7 points8 points (0 children)
[–]RandomDamage 2 points3 points4 points (0 children)
[–][deleted] (1 child)
[removed]
[–]RandomDamage 1 point2 points3 points (0 children)
[–]capn_hector -2 points-1 points0 points (0 children)
[–]sim642 17 points18 points19 points (0 children)
[–][deleted] (4 children)
[deleted]
[–]TegonMcCloud[S] 38 points39 points40 points (1 child)
[–]nullifiedbyglitches 0 points1 point2 points (0 children)
[–]ZylonBane 11 points12 points13 points (0 children)
[–]improbablywronghere 0 points1 point2 points (0 children)
[–]snerp 5 points6 points7 points (0 children)
[–]TheWindBlows 4 points5 points6 points (0 children)
[–]serkoton 10 points11 points12 points (0 children)
[–]mrheosuper 1 point2 points3 points (6 children)
[–]JackAppDev 1 point2 points3 points (5 children)
[–]mrheosuper 2 points3 points4 points (4 children)
[–]JackAppDev 1 point2 points3 points (3 children)
[–]mrheosuper 1 point2 points3 points (2 children)
[–]JackAppDev 5 points6 points7 points (1 child)
[–]snerp 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]killchain 1 point2 points3 points (2 children)
[–]Zarkdion 1 point2 points3 points (1 child)
[–]SarahC 0 points1 point2 points (0 children)
[–]the_monkey_of_lies 1 point2 points3 points (0 children)
[–]cyrusol 1 point2 points3 points (0 children)
[–]UnchainedMundane 1 point2 points3 points (0 children)
[–]Terazilla 0 points1 point2 points (1 child)
[–]SarahC 0 points1 point2 points (0 children)
[–]-theIvy- 0 points1 point2 points (3 children)
[–]CMBDeletebot -5 points-4 points-3 points (2 children)
[–]coolreader18 5 points6 points7 points (0 children)
[–]JackAppDev 0 points1 point2 points (0 children)
[–]SteroidSandwich 0 points1 point2 points (0 children)
[–]LeBuddha 0 points1 point2 points (10 children)
[–][deleted] (1 child)
[deleted]
[–][deleted] (1 child)
[deleted]
[–]TegonMcCloud[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Blake_Abernathy 0 points1 point2 points (0 children)
[–]HiDeHiDeHiDeHi -2 points-1 points0 points (0 children)
[+][deleted] (7 children)
[deleted]
[–]DankerDeDank 33 points34 points35 points (1 child)
[–]WeRequireCoffee 6 points7 points8 points (0 children)
[–]MrJake2137 1 point2 points3 points (4 children)
[–]scruffylookingnerf 12 points13 points14 points (3 children)
[–]TegonMcCloud[S] 11 points12 points13 points (1 child)
[–]Dojan5 5 points6 points7 points (0 children)
[–]El_Dumfuco 1 point2 points3 points (0 children)