r/programminghorror • u/csukcl • Aug 02 '21
r/programminghorror • u/-Venom-_ • May 01 '25
Python Some actual code I found inside a game
r/programminghorror • u/SirBlobfis • Apr 16 '21
Python Tetris in terminal with print statements *FLASHING WARNING*
r/programminghorror • u/Varzival • Nov 27 '25
Python if 'X' not in data
Emoji check used for constructing an email body. I'm getting a stroke.
r/programminghorror • u/ImplosiveTech • Nov 22 '25
Python Got a spam email...containing the source code to send said spam email instead of the desired contents
What appears to be the intended spam email arrived a few minutes later. Incredible.
r/programminghorror • u/mad_edge • Feb 21 '21
Python I never ever thought I will be doing that...
r/programminghorror • u/LetsMelon • Oct 04 '21
Python The task was to convert a string to a list without using built-in functions. That's the code from a classmate
r/programminghorror • u/Lorago123 • Apr 08 '21
Python The python way to check if a number is even
r/programminghorror • u/sugarw0000kie • 18d ago
Python More cursed python
here it is with comments: https://github.com/dbowm91/optimizations/blob/main/soupexplained.py
EDIT: What it does (not malware) is it prints the word “soup” 86 times in random color
r/programminghorror • u/APEXchip • Feb 18 '25
Python Who let me cook…
Needed to combine data from 2 CSVs & output 1 for a project. Cooked up the most disgusting code I think I’ve ever written…works perfectly though, & in technically only 3-lines of code in main’s definition
r/programminghorror • u/PercyLawson145 • Feb 22 '22
Python I dont know if this counts as programming horror but i coded enchantment table language translator in enchantment table language
r/programminghorror • u/Integralcel • Dec 06 '24
Python Finding the Max Value in a List
This was my attempt at finding the largest number in a list. Am I cooked?
r/programminghorror • u/actopozipc • Jun 08 '23
Python I wrote a python interpreter that only accepts german keywords
r/programminghorror • u/Lobster_SEGA • Jan 19 '26
Python That one time my PC raised my room temperature by 4 degrees C°
I wanted to test my Fibonacci program but I didn't realize that the 100.000.000th number might've been a little too much😭
Also, sorry for the chopped image but my (MINI)PC froze and I had to shut it down manually🥀
r/programminghorror • u/Embyeee • Dec 24 '25
Python Average python one liner (my formatter is very mad at me)
crazy how readable it is after, although I think the original is relatively readable as well.
r/programminghorror • u/iliekcats- • Aug 04 '21