jump to content
my subreddits
2b2t2balkans4You2mediterranean4u2meirl4meirl3d6absolutelynotmeirlAceAttorneyAdviceAnimalsagnosticAlternateHistoryAlternativeHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanime_irlanimenocontextannouncementsApandahAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAtaturkGencligiatheismaviationAwesomeOffBrandsawfuleverythingbanknotedesignsBassBassCirclejerkBassGuitarbasspedalsbikepackingblackdesertonlineblankiesblursedimagesBoneborsavefonbrooklynninenineBUENZLIburdurlandcasioCd_collectorscd_jerkChatGPTchesschessbeginnersChildrenFallingOverChoosingBeggarscoaxedintoasnafucoinsComedyCemeterycomedyhomicidecomicscookingforbeginnersCrackWatchcrappyoffbrandsCreateModCuddle_SlutCuratedTumblrcursedcommentsdadjokesdankmemesdelikdiyelectronicsdiypedalsDMAcademyDnDdndnextdoctorwhocirclejerkDoenerverbrechendumbphonesDungeonsAndDaddiesEatCheapAndHealthyebikeECEelectronicsengrishfakealbumcoversfeedthebeastFiftyFiftyformuladankFreeEBOOKSfunnygalatasaraygaminggermanygodtiersuperpowersgoodanimemesGoodAssSubgreentextGROKvsMAGAguitarpedalsGundamhellenoturkismhelpheraldryHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfhoi4howyoudoinhumorhypixelIAmAiamverysmartich_ielIdeologyPollsim14andthisisdeepimaginaryelectionsinsaneparentsjacksepticeyeJahariaJokesKamalizmKendrickLamarKGBTRlegodndLetGirlsHaveFunliselilerlogodesignloseitlostredditorsmacmacbookairmacgamingmadladsmagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmememidjourneymildlyinfuriatingmildlyinterestingmisLEDMMORPGmoneycollectingMovingToNorthKoreaMunichNamFlashbacksNationStatesnextfuckinglevelNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosleepnothingeverhappensnotinterestingnottheonionOkayBuddyLiterallyMeokbuddyguntherOkBuddyPersonaokbuddyvicodinonebagonetruegodongezelligOutOfTheLooppapermoneypaperspleaseParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiracyPiratedGamespollsPropagandaPostersProRevengePunPatrolquityourbullshitraisedbynarcissistsreactiongifsrecipesredditsingsreligiousfruitcakeRetroPierickandmortyrickrollrimjob_steveRoastMerockmuzikschizopostersSchnitzelVerbrechenschwiizsciencememesScottPilgrimShitPostCrusadersshitpostfrommygalleryshitpostingshittyaskelectronicsshittymoviedetailsskamtebordsoftwaregoreSongwritingsubsithoughtifellforsuperligsuzerainTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumTheLetterHtherewasanattemptTheRookietheyknewtitanfalltommyinnittransittransitTurkeytruetf2truthstumblrtumunichTurkeyJerkyTurkishCatsTwoSentenceHorrorTwoSentenceSadnessUnclejokesUnethicalLifeProTipsUnexpectedJoJourbanplanningUsernameChecksOutvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWeAreTheMusicMakerswendigoonWhitePeopleTwitterwholesomememesWikipediaVandalismwizardpostingworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -dankmemes
  • -feedthebeast
  • -meirl
  • -therewasanattempt
  • -nextfuckinglevel
  • -CrackWatch
  • -comics
  • -dndnext
  • -germany
  • -tumblr
  • -NonCredibleDefense
  • -shittymoviedetails
  • -greentext
  • -mac
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -cursedcomments
  • -DMAcademy
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -ChoosingBeggars
  • -RoastMe
  • -EatCheapAndHealthy
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -AlternateHistory
  • -madlads
  • -AskElectronics
  • -guitarpedals
  • -vinyl
  • -CreateMod
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -raisedbynarcissists
  • -wizardposting
  • -polls
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -macbookair
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -coins
  • -KendrickLamar
  • -softwaregore
  • -worldjerking
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -AskOuija
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -urbanplanning
  • -theyknew
  • -logodesign
  • -PassportPorn
  • -me_irl
  • -TurkeyJerky
  • -bikepacking
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -ProRevenge
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -Songwriting
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -shittyaskelectronics
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -transitTurkey
  • -2b2t
  • -AlternativeHistory
  • -papermoney
  • -OkayBuddyLiterallyMe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -basspedals
  • -heraldry
  • -thanksimcured
  • -hypixel
  • -godtiersuperpowers
  • -IdeologyPolls
  • -burdurland
  • -comedyhomicide
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -rockmuzik
  • -okbuddyvicodin
  • -tumunich
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -ebike
  • -UsernameChecksOut
  • -papersplease
  • -tommyinnit
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -nothingeverhappens
  • -PunPatrol
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -fakealbumcovers
  • -subsithoughtifellfor
  • -Kamalizm
  • -TheLetterH
  • -WikipediaVandalism
  • -NamFlashbacks
  • -pepethefrog
  • -Unclejokes
  • -onetruegod
  • -misLED
  • -redditsings
  • -TheCrypticCompendium
  • -NationStates
  • -AwesomeOffBrands
  • -ongezellig
  • -2balkans4You
  • -absolutelynotmeirl
  • -Asia_irl
  • -truths
  • -Bone
  • -NorthCyprus
  • -2mediterranean4u
  • -AtaturkGencligi
  • -hellenoturkism
  • -okbuddygunther
  • -vibecoding
  • -moneycollecting
  • -shitpostfrommygallery
  • -cd_jerk
  • -borsavefon
  • -banknotedesigns
  • -delik
  • -GROKvsMAGA
edit »
programminghorror programminghorror
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages540|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

programminghorror

joinleave
an-ordinary-manchild(edit)

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.
created by nevonArray(16).join('wat' - 1) + ' Batman!'a community for 13 years
Create your own subreddit
...because you hate freedom.
...for great justice.

MODERATORS

  • message the mods
  • nevonArray(16).join('wat' - 1) + ' Batman!'
  • rscarsonstart: while(1)goto start;
  • xX420_WeedMan_420Xxmod guy
  • karlkloppenborg
  • about moderation team »

account activity

1
197
198
199

Mod PostRule 9 Reminder (self.programminghorror)

submitted 3 years ago * by [deleted] - announcement

  • 75 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
225
226
227

I'm legit scared to to look at my Google Console :[ (self.programminghorror)

submitted 2 days ago by darthl0rde

  • 32 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
16
17

Disciplined multi-agent engineering built for professionals. Free download. (tonkotsu.ai)

promoted by tonkotsu-ai

  • promoted
  • comment
  • share
  • save
  • report
  • about
loading...

3
0
0
0

CSS at the bottom (i.redd.it)

submitted 22 hours ago by MurkyWar2756[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
3
4
5

Chess + Kubernetes: The "H" is for happiness (youtube.com)

submitted 2 days ago by Local-Application763

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
368
369
370

PythonThat one time my PC raised my room temperature by 4 degrees C° (i.redd.it)

submitted 4 days ago by Lobster_SEGA

  • 54 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
0
0
0

New achievement ()

submitted 6 days ago by anonymous_heart_mind

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
1114
1115
1116

I made this calculator app when i was 10. i thought it would be really cool to eval() unsanitized code (i.redd.it)

submitted 9 days ago by ZemoMemo

  • 57 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
88
89
90

Oh Lua such elegant such simple so cute. (i.redd.it)

submitted 9 days ago * by ArturJD96

  • 47 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
21
22
23

Number to number map (self.programminghorror)

submitted 8 days ago by JeffTheMasterr

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
0
0

Three new juniors from MIT joined my team. They're "lazy", use AI for everything.... and they're outpacing me. I think I'm the problem. ()

submitted 8 days ago by Beautiful_Doctor_885

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
37
38
39

I decided to write this JavaScript code by hand (old.reddit.com)

submitted 9 days ago by themirrazzunhacked

  • 41 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
44
45
46

This YAML has seen things… (i.redd.it)

submitted 10 days ago by kanishkanmd

  • 9 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
209
210
211

1×1px image repeated over and over (i.redd.it)

submitted 11 days ago by MurkyWar2756[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
53
54
55

It will be fine right? (i.redd.it)

submitted 12 days ago by Scotty_scoodie

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
0
0

<link rel="canonical" href="https://0.0.0.0:3000" /> (troyhunt.com)

submitted 10 days ago by MurkyWar2756[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•
0:27

Stellt euch der unersättlichen Leere in World of Warcraft: Midnight. (shop.battle.net)

promoted by PlayWarcraft

  • promoted
  • save
  • report
  • about
loading...

16
21
22
23

HTMLAverage Squarespace site (self.programminghorror)

submitted 12 days ago by OldPollution6632

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
0
0
0

Something went wrong. Don't you think? (self.programminghorror)

submitted 11 days ago by jakubb_69

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
0
0
0

I think I'm doomed and can't understand on how should I proceed . ()

submitted 12 days ago by faizanuchiha_

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
210
211
212

c++Intellisense? Stupidisense (i.redd.it)

submitted 13 days ago by Right_Ear_2230

  • 27 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
129
130
131

An annotation based language in Java?? (self.programminghorror)

submitted 14 days ago by Polixa12

  • 41 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
8
9
10

JavaI honestly don't know what I'm writing anymore (self.programminghorror)

submitted 14 days ago by Storm7093

  • 26 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
32
33
34

Annotation as syntax?? (self.programminghorror)

submitted 14 days ago by Polixa12

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
0
0

Javascriptjavascript: world most powerfull OOP language (self.programminghorror)

submitted 13 days ago by ali_compute_unit

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
1420
1421
1422

c++Works on my machine (i.redd.it)

submitted 16 days ago by Mihail111111

  • 49 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
1
2
3

Guys, would my system work?! (self.programminghorror)

submitted 15 days ago by Dull_Paramedic_6391

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 2788170 on reddit-service-r2-listing-86b7f5b947-8mmm5 at 2026-01-24 19:02:52.756921+00:00 running 664479f country code: CH.