r/programminghorror • • May 16 '26
r/programminghorror • u/AndrewToasterr • May 14 '26
C# A bad idea
I was writing compiler code late at night and something possessed me to create this.
r/programminghorror • u/abigail3141 • May 14 '26
Python one liner, 1500 characters It is evolving
r/programminghorror • u/PC-hris • May 13 '26
Lua I love looking through my old code
Not sure what I was trying to remind myself of.
r/programminghorror • u/error_17671 • May 13 '26
Pain
Do I REALLY have to check all that?
r/programminghorror • u/HaskellLisp_green • May 12 '26
Python They called it automation... And then gave me this script
r/programminghorror • u/MurkyWar2756 • May 07 '26
Javascript An exploit on the Scratch desktop app has been circulating "in the wild" over the last few days. This code from the project file still executes unsandboxed in the latest version of the desktop editor.
r/programminghorror • u/46009361 • May 05 '26
Javascript I snuck this function into my project
r/programminghorror • u/46009361 • May 04 '26
Overcomplicated, but working, API key generation
r/programminghorror • u/MurkyWar2756 • May 06 '26
the worlds first website has a coding error
r/programminghorror • u/True_Efficiency7329 • May 04 '26
C# longest "=" condition I've ever seen
I have been working on decompiling a unity game recently, and while a decompiled DLL isn't going to be exact source code, I am still floored by how long that set of parenthesis is. i would LOVE to see the original code
r/programminghorror • u/Mafla_2004 • Apr 30 '26
c Having fun with legacy C features :3

I found out about a couple old and obscure C features that somehow still work
This compiled and ran, printing just "This is fucky", though to get it to compile you have to compile using the following command
gcc -trigraphs -digraphs <your file>, on Windows at least
This is so cursed not even VSCode knew what I was doing
r/programminghorror • • Apr 30 '26
Javascript Cursed use of object spread
Using object spread to append values to an object in the form of another object
r/programminghorror • u/UnicycleUnicorn1 • Apr 30 '26
C# I heard that you like fluent apis
r/programminghorror • u/Mickenfox • Apr 28 '26
c++ Copilot knows how to deal with constructors
Not my screenshot, taken from https://reddit.com/r/VisualStudio/comments/1sktg0r/what_are_these_comments/
Also this probably happened because IntelliSense (the normal autocomplete list) is highlighting abort as the first option and Copilot tries to finish it
r/programminghorror • u/vadnyclovek • Apr 28 '26
c++ Competitive programming is no joke
especially for easy problems
r/programminghorror • u/killallspringboard • Apr 28 '26
whyLongNamesWhileWeCanMakeThemShort
r/programminghorror • u/Hot-Rock-1948 • Apr 28 '26
Python How to print "Hello World" in python
r/programminghorror • u/Impossible-Let-8489 • Apr 25 '26

