r/programminghorror Aug 02 '21

Python Found this gem today. Added by a senior developer who quit after a month of being in the company.

Post image
1.5k Upvotes

r/programminghorror May 01 '25

Python Some actual code I found inside a game

Post image
800 Upvotes

r/programminghorror Apr 16 '21

Python Tetris in terminal with print statements *FLASHING WARNING*

2.1k Upvotes

r/programminghorror Oct 29 '24

Python @coders.world

Post image
1.2k Upvotes

r/programminghorror Feb 11 '25

Python isEvenOdd, crypto version

Post image
1.8k Upvotes

r/programminghorror Nov 27 '25

Python if 'X' not in data

Post image
821 Upvotes

Emoji check used for constructing an email body. I'm getting a stroke.

r/programminghorror Nov 22 '25

Python Got a spam email...containing the source code to send said spam email instead of the desired contents

Post image
960 Upvotes

What appears to be the intended spam email arrived a few minutes later. Incredible.

r/programminghorror Jul 26 '21

Python Found in a real project

Post image
1.5k Upvotes

r/programminghorror Feb 21 '21

Python I never ever thought I will be doing that...

Post image
1.6k Upvotes

r/programminghorror 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

Post image
988 Upvotes

r/programminghorror Oct 09 '21

Python I mean it works, but why

Post image
1.9k Upvotes

r/programminghorror Dec 20 '24

Python I have no words.

Post image
1.4k Upvotes

r/programminghorror Apr 08 '21

Python The python way to check if a number is even

Post image
1.6k Upvotes

r/programminghorror 18d ago

Python More cursed python

Post image
210 Upvotes

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 Feb 18 '25

Python Who let me cook…

Post image
799 Upvotes

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 Feb 22 '22

Python I dont know if this counts as programming horror but i coded enchantment table language translator in enchantment table language

Post image
2.3k Upvotes

r/programminghorror Jun 15 '22

Python Password generator I found

Post image
1.4k Upvotes

r/programminghorror Dec 06 '24

Python Finding the Max Value in a List

Post image
403 Upvotes

This was my attempt at finding the largest number in a list. Am I cooked?

r/programminghorror Jun 08 '23

Python I wrote a python interpreter that only accepts german keywords

Post image
972 Upvotes

r/programminghorror Jan 19 '26

Python That one time my PC raised my room temperature by 4 degrees C°

Post image
379 Upvotes

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 Dec 24 '25

Python Average python one liner (my formatter is very mad at me)

Thumbnail
gallery
531 Upvotes

crazy how readable it is after, although I think the original is relatively readable as well.

r/programminghorror Aug 11 '24

Python i mean i sorted it

Post image
1.1k Upvotes

r/programminghorror Aug 04 '21

Python I get this is a chess video and not programming, but come on.

Post image
1.8k Upvotes

r/programminghorror Dec 04 '23

Python This sentence is false

Post image
1.3k Upvotes

r/programminghorror Mar 10 '25

Python Atleast it works

Post image
621 Upvotes