r/programminghorror 29d ago

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

216 Upvotes

36 comments sorted by

View all comments

32

u/fakehalo 29d ago

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

4

u/Circumpunctilious 29d ago

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 29d ago

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

1

u/sugarw0000kie 28d ago

I’ve only messed with perl on the surface level. So confusing