ChatGPT just gave me a find command that would have deleted most of my project (I commit my changes once a week)Dec 2023 ⋅ tadachs ⋅ r/programminghorror ⋅ #I-commit-my-changes-once-a-week
I lost hours of my life trying to figure out why text displayed in Release but not DebugDec 2023 ⋅ TessaFractal ⋅ r/programminghorror
My motto for this project is if it's stupid and it works, is it still stupid?Dec 2023 ⋅ needlesfox ⋅ r/programminghorror
Last year’s code for an arduino robot. Now I understand why it wasn’t workingJan 2023 ⋅ Nicolello_iiiii ⋅ r/programminghorror
Wanted to optimize my matrix determinant calculations, came up with this monstrosity.Dec 2023 ⋅ Zombiesalad1337 ⋅ r/programminghorror
Apparently, Undertale has a 1000+ long case switch statement.Nov 2023 ⋅ qsteele93 ⋅ r/programminghorror
This sub exists due to the contributions of these individuals.Oct 2023 ⋅ MeltedSuburb ⋅ r/programminghorror
Never forget that French people remade RUST in French and called it Rouille (litterally rust in french)Apr 2023 ⋅ 0xCurtis ⋅ r/programminghorror ⋅ #litterally-rust-in-french
Pressing Enter while typing anything in Visual Studio is a minefield these daysNov 2023 ⋅ MauriceMathis235 ⋅ r/programminghorror
This horrible, absolutely terrible code I wrote to determine what size an image should be on the webpage. Had the pleasure of banishing it into hell today.Dec 2023 ⋅ LankySeat ⋅ r/programminghorror
What a strange if, I'll do a backflip all the way to the flip is over and the if isn't. Have a good dayMay 2023 ⋅ Kerooker ⋅ r/programminghorror
Enki sent a promotional email about their new AI tutor. I am not impressed to say the least...Jun 2023 ⋅ leirtac12 ⋅ r/programminghorror
Spaghetti code that still exists in a game that is receiving updates to this day.Apr 2023 ⋅ NWSKroll ⋅ r/programminghorror
It just occurred to me that this might be a bad name for a variable.Oct 2023 ⋅ LolitaBenton ⋅ r/programminghorror
I wrote a python interpreter that only accepts german keywordsJun 2023 ⋅ actopozipc ⋅ r/programminghorror
Behold Centrally justified code I shouldn't have been let near emacs anymore xDMar 2023 ⋅ JessicaCallan ⋅ r/programminghorror
This is part of the code for Windows XP's theme settings property tabJun 2023 ⋅ cuentatiraalabasura ⋅ r/programminghorror
The amount of HTML used by an ad network to display a single image banner ad on my websiteNov 2023 ⋅ Pandalism ⋅ r/programminghorror
Found this while randomly browsing someone's calculator appJan 2023 ⋅ ChrisM-1988 ⋅ r/programminghorror
Found this gem while buying French train ticketsSep 2023 ⋅ TheRealSlimShady0812 ⋅ r/programminghorror
When a programmer ragequits trying to import a library inside his codeDec 2023 ⋅ not-the-the ⋅ r/programminghorror
I'm working with a compiler that doesn't support continue if it's in a switch, so I wrote this thing... (I'm not proud of it)May 2023 ⋅ ATE47 ⋅ r/programminghorror
Instead of coming up with a new file naming scheme, tell the user to go outside instead.May 2023 ⋅ colouredmirrorball ⋅ r/programminghorror
Shared this on ProgrammerHumor and was asked to share it here, my first game project after 8 years of solo development...Jan 2023 ⋅ Huw2k8 ⋅ r/programminghorror
Someone who used to work at the same company as I do has produced this codeApr 2023 ⋅ alexvoedi ⋅ r/programminghorror
Actual code in a live project [form validation]Jul 2023 ⋅ stefano2697 ⋅ r/programminghorror ⋅ #form-validation
This is a valid c++14 code (without the use of define).Mar 2023 ⋅ matbiz01 ⋅ r/programminghorror ⋅ #without-the-use-of-define
Why would you code the entire logic of a guitar hero ripoff in the main file?!!Apr 2023 ⋅ f---_society ⋅ r/programminghorror
Bro be exiting and entering his own house to check if he is at homeApr 2023 ⋅ BuyMyBeardOW ⋅ r/programminghorror
Hmm, what would be an approporiate fallback? Oh yeah, let's crash the app!Oct 2023 ⋅ xxmalik ⋅ r/programminghorror
I found this in our codebase today and contemplated quitting.Feb 2023 ⋅ kacjugr ⋅ r/programminghorror
Found this at work. Someone padded a repo with thousands of lines like this to pass a 75% code coverage check.Feb 2023 ⋅ Plaminek ⋅ r/programminghorror
A friend of mine wanted me to check out one of his projects...Sep 2023 ⋅ MEGATH0XICC ⋅ r/programminghorror
Just a tiny little clean coding before the weekend.. What could go wrong?Aug 2023 ⋅ LordXardi ⋅ r/programminghorror
My teacher who teaches us python does not allow me to use for-else in my final exam and sent me this and said this is the only correct wayMar 2023 ⋅ yogeshdcool ⋅ r/programminghorror
My heavily-commented assembly FizzBuzz. To me it's good fun, but I imagine it's horror in reality.Jul 2023 ⋅ ___wintermute ⋅ r/programminghorror
ChatGPT going wild (code in the first comment)May 2023 ⋅ SakaDeez ⋅ r/programminghorror ⋅ #code-in-the-first-comment
Hey guys, have any of you worked with enterprise code before? Is it just me or does it feel like an entirely different beast compared to regular coding? Any tips or advice for someone diving into this realm for the first time? Thanks in advance!May 2023 ⋅ FluxieFox ⋅ r/programminghorror
you know callback hell? well, everyone welcome switch/case hellAug 2023 ⋅ not-the-the ⋅ r/programminghorror