ChatGPT going wild (code in the first comment)May 2023 ⋅ SakaDeez ⋅ r/programminghorror ⋅ #code-in-the-first-comment
On my first steps to create the most unmaintainable Python code possibleDec 2024 ⋅ AmazingGrinder ⋅ r/programminghorror
Found a beautiful section of code from when i was first learning cppFeb 2024 ⋅ p00nda ⋅ r/programminghorror
The most upvoted comment picks the next line of code: Day 14. whatNov 2022 ⋅ _DaCoolOne_ ⋅ r/programminghorror
A full day of debugging has caused my code to be filled with comments explaining every step.Feb 2024 ⋅ MulleRizz ⋅ r/programminghorror
Callback hell from ages ago when coding my first ever discord botSep 2023 ⋅ Peacerekam ⋅ r/programminghorror
Code of my first published game before I knew about matricesJun 2022 ⋅ InkforthePen ⋅ r/programminghorror
The most upvoted comment picks the next line of code: Day 12. div/div/div/div/div/div/div/div/div/divNov 2022 ⋅ lukaskuko ⋅ r/programminghorror
Was looking at some old code I wrote and found this descriptive commentJan 2022 ⋅ MrManBLC ⋅ r/programminghorror
Collision resolution code from my high school project... presented without commentSep 2023 ⋅ playTwoday ⋅ r/programminghorror
I love looking through my old code from the early 2000's when I was first learning to programJun 2022 ⋅ GoBackToLeddit ⋅ r/programminghorror
Hey guys, have any of you worked with enterprise code before?May 2023 ⋅ FluxieFox ⋅ r/programminghorror
Have you ever wanted to code in Java, but you hate using regular letters, numbers, and symbols?Dec 2023 ⋅ metalpyrate ⋅ r/programminghorror
Good thing he added this one comment to the code, otherwise I would not understand it.Nov 2021 ⋅ territrades ⋅ r/programminghorror
This is my first time trying to code a GUI and this looks horribleAug 2021 ⋅ TheF1xer ⋅ r/programminghorror
There are around 1000 lines of old code commented out after thisDec 2020 ⋅ tmaxElectronics ⋅ r/programminghorror ⋅ #1000
Printing out the rhombus without programming (details in comment)Mar 2022 ⋅ bajuh ⋅ r/programminghorror ⋅ #details-in-comment
1,004 line long function... that isn't even finished yet... with no commentsJul 2024 ⋅ Redditislefti ⋅ r/programminghorror
I know there's a rule against student code, but this was my own code in first year of college.Mar 2023 ⋅ Confused_AF_Help ⋅ r/programminghorror
This code that I wrote 2 years ago where I was using a for loop to to find the relational data of eachJun 2022 ⋅ vincent-vega10 ⋅ r/programminghorror
This code my friend wrote 3 years ago when we first started programmingNov 2022 ⋅ tortelliniEater ⋅ r/programminghorror
My greatest common factor finder from when I was first learning C (last year)Oct 2023 ⋅ OPeakM ⋅ r/programminghorror ⋅ #last-year
My heavily-commented assembly FizzBuzz. To me it's good fun, but I imagine it's horror in reality.Jul 2023 ⋅ ___wintermute ⋅ r/programminghorror
Arguably worse than the I figured it out but with no explanation commentsNov 2021 ⋅ LambBrainz ⋅ r/programminghorror
Gotta convert encodings first. Also, doing that is deprecated, so... good luck lol!Oct 2022 ⋅ ArdiMaster ⋅ r/programminghorror
Throwback to my first translation manager, that I programmed when I was 13Sep 2023 ⋅ brentspine ⋅ r/programminghorror
Looking at my first project ever - does this smell okay to you?Nov 2023 ⋅ markmanam ⋅ r/programminghorror
I've explained how I came up with this abomination in the comments but I don't think it helps that muchSep 2022 ⋅ Tornado547 ⋅ r/programminghorror
My friend’s solution to an exercise, the comment mentions that as of now, the pc needs to make 320 billionFeb 2023 ⋅ Theorange-of-anxiety ⋅ r/programminghorror
Saw u/lajji69's post about center aligned code, decided to add it to VS Code.Jan 2021 ⋅ ppictures ⋅ r/programminghorror ⋅ #u-lajji69
Decided to make my first ever dynamic list while being sleep deprived.Nov 2024 ⋅ Goaty1208 ⋅ r/programminghorror
Shared this on ProgrammerHumor and was asked to share it here, my first game project after 8 years ofJan 2023 ⋅ Huw2k8 ⋅ r/programminghorror
My first task as an intern is to review and fix the code of the main application used by my company.Jul 2019 ⋅ MainSWish ⋅ r/programminghorror
Who needs comments when you can just name the variable as the comment?Mar 2020 ⋅ ThatCheesyPotato ⋅ r/programminghorror
When you only have a single struct, but want a pointer to another struct, which contains the first structJun 2023 ⋅ Naitsab_33 ⋅ r/programminghorror
I was taking an interview and asked the candidate to print first 20 prime numbers.Sep 2021 ⋅ charank_95 ⋅ r/programminghorror ⋅ #20
There’s a grand total of three lines of comments on this bad boyOct 2020 ⋅ helfiskaw ⋅ r/programminghorror
The fact that this first condition works the way it does makes me repulsed by JS.Nov 2023 ⋅ dayto_aus ⋅ r/programminghorror
[color coding] XCode does not understand C++ comments too wellOct 2019 ⋅ iamasuitama ⋅ r/programminghorror ⋅ #color-coding
Sure enough, I go to the *popular* tutorial and see raw SQL text inserts and this in the comments.May 2022 ⋅ PacificShoreGuy ⋅ r/programminghorror
Comment found from last time I tried to wrestle this particular fucking bash script. Fuck bash.Jul 2024 ⋅ Pool-LAN ⋅ r/programminghorror
Talking about self-documenting code by mixing English, Chinese and various other characters in variableJul 2019 ⋅ leo3065 ⋅ r/programminghorror
my friend took half an hour to make this (his first time using java)Apr 2022 ⋅ VMGuy23temporary ⋅ r/programminghorror ⋅ #his-first-time-using-java
My 3rd ever assignment for my first semester of uni was to program an algorithm that determined whetherFeb 2023 ⋅ goodwarrior12345 ⋅ r/programminghorror ⋅ #notice-the-minimap #and-how
We've got this program as official reference for first C++ project...Apr 2020 ⋅ Ch3shireDev ⋅ r/programminghorror
2016 me (the only comments in the entire code are to comment out various variable setting for dev stuffJun 2019 ⋅ KawaiiMaxine ⋅ r/programminghorror ⋅ #the-only-comments-in-the-entire-code-are-to-comment-out-various-variable-setting-for-dev-stuff #2016
Not a good sign when this is the first step in a production web appApr 2019 ⋅ TinySmugCNuts ⋅ r/programminghorror
Hello there, that's my first post here, and that's my first experience trying to put JavaScript in anyFeb 2022 ⋅ D4RK_MULL3R ⋅ r/programminghorror ⋅ #much-simpler
Now our codebase is riddled with these `eslint-disable-next-line` commentsNov 2021 ⋅ notAnotherJSDev ⋅ r/programminghorror
The AOL mobile app does not cut off spaces at the end of the recipient's emailaddress (story in commentsMar 2020 ⋅ Epii2 ⋅ r/programminghorror ⋅ #story-in-comments
You know it's bad when the comment start with So here's the dealJan 2019 ⋅ MaybE_Tree ⋅ r/programminghorror
Started my first programming job outside of my own projects. They don't use source control...Feb 2020 ⋅ aeroverra ⋅ r/programminghorror
This was my first ever game, that function is so confusingJul 2019 ⋅ iliekcats- ⋅ r/programminghorror
Hello, [First name-rockstar-ninja]. Someday recruiters will be aware of their stupidity.Jul 2018 ⋅ ksushbush ⋅ r/programminghorror ⋅ #First-name-rockstar-ninja
Let's make the first parameter optional completely changing the meaning of argument namesMar 2019 ⋅ mikat7 ⋅ r/programminghorror
In which the teacher attempted to fix the output of a first year CS studentMay 2019 ⋅ TheWaffleIsALie ⋅ r/programminghorror
I found this while editing some of the first code written for a web appApr 2017 ⋅ DXPower ⋅ r/programminghorror
Someone made a function to retrieve all the orders that first retrieves all the order_id's and then loopsJul 2020 ⋅ _alright_then_ ⋅ r/programminghorror
Retreive and loop through brands... to not make use of the brand at all and return after first iterationAug 2019 ⋅ omg_im_so_random ⋅ r/programminghorror
When you forget that templating engines have if statements (context in comment)May 2021 ⋅ ProfRomeoVonSexhaver ⋅ r/programminghorror ⋅ #context-in-comment
The way I commented EVERY SINGLE line in my old GTA V modsMar 2020 ⋅ DerpyCanadian ⋅ r/programminghorror
My first program. I wrote it before learning anything about programming.Jun 2018 ⋅ enoua5 ⋅ r/programminghorror
First day on the job as an intern. Here is a snippet of the codebase I'm dealing with.Jun 2018 ⋅ LakaLakaPuiPui ⋅ r/programminghorror
Got my first Job as a Dev and I was told to make things work quickly and refactor laterApr 2021 ⋅ life_never_stops_97 ⋅ r/programminghorror
I thought documenting was cool back when I first started...Jun 2018 ⋅ DropTheGauntlet ⋅ r/programminghorror
good morning and welcome to “fucking useless comments/summaries”Mar 2019 ⋅ guacamole1337 ⋅ r/programminghorror
My first self written program ever (in notepad)Jun 2018 ⋅ Lightfire228 ⋅ r/programminghorror ⋅ #in-notepad
How I decided the win condition in a game of 3D Tic-Tac-Toe when I first started programmingNov 2017 ⋅ Suwein ⋅ r/programminghorror ⋅ #f
This is one of the first few things that jumped into my face.Sep 2018 ⋅ Last_Snowbender ⋅ r/programminghorror
Had to help someone, because his code didn't work. He didn't add any comments whatsoever.Jan 2020 ⋅ Merelvandegraaf ⋅ r/programminghorror
My first attempt at programming & Unity 2+ years ago.Sep 2018 ⋅ ChaosDevilDragon ⋅ r/programminghorror ⋅ #700 #2
When you accidentally put the comments in the name of the functionJul 2018 ⋅ bibimbaplover ⋅ r/programminghorror
Found this comment in some codebase, should I laugh or cry?Aug 2017 ⋅ [deleted] ⋅ r/programminghorror
One of my first PHP projects, including a function with 9 parameters and hard-coded usernames.May 2018 ⋅ buoybuoy ⋅ r/programminghorror ⋅ #9
Backstory in comments (here too). (x-post /r/badcode).Feb 2018 ⋅ TheSimon98 ⋅ r/programminghorror ⋅ #x-post--r-badcode #here-too #badcode #x-post #r
One of my first java programs. This is the part that saves the data to a .csv file.Oct 2017 ⋅ Vermunds ⋅ r/programminghorror
I present to you the very first code I wrote - some 6 months ago at my UniversityJan 2017 ⋅ NoBeardMarch ⋅ r/programminghorror ⋅ #6
This is the type of comment you should be publicly shamed and executed forOct 2018 ⋅ Last_Snowbender ⋅ r/programminghorror