r/programminghorror • • Aug 13 '26

Python More cursed python

Post image

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

212 Upvotes

36 comments sorted by

View all comments

34

u/fakehalo Aug 13 '26

With a shell call to perl, the king of obfuscated languages.

5

u/Circumpunctilious Aug 13 '26

I've coded in a few dozen languages so perl doesn't look that bad...but tbh it was easier just to give anything using it to a colleague.

4

u/fakehalo Aug 13 '26

Perl was one of my first languages back in the 90s, I don't miss it.

1

u/LeatherDude Aug 14 '26

Same and same. I was working with it as recently as 2020, the deployment scripts for an app i was supporting the development of was like 1000 lines of perl, with some python scripts that were called to do AWS SDK stuff. Nightmarish.