Python is really a shit language for obfuscating things. In the Perl community, obfuscated scripts that print “Just another Perl hacker” have been a tradition for decades, and the richness of the language really pays off when you’re trying to be a jerk.
Fresh from 2009 or so, here’s my best take on the genre – this produces a rendering of my email sig at the time. I’m particularly proud of the base 26 conversion :)
If you dive into the C++ hello world, follow every header, every overload and trace every iostream class that is instantiated, it feels like you are sitting on a giant complex structure that was obfuscated by the deceptively simple looking abstraction which causes hello world to be flushed to stdout.
I fondly the remember the times when your python2 script could start with
# encoding: rot-13
and your source code be completely rot13 encoded. More on my blog at https://frederik-braun.com/rot13-encoding-in-python.htmlPython is really a shit language for obfuscating things. In the Perl community, obfuscated scripts that print “Just another Perl hacker” have been a tradition for decades, and the richness of the language really pays off when you’re trying to be a jerk.
Fresh from 2009 or so, here’s my best take on the genre – this produces a rendering of my email sig at the time. I’m particularly proud of the base 26 conversion :)
This has been my .signature for ages:
Amateurs. Try this one: http://www.ioccc.org/2020/endoh2/index.html
My favourite. Much smaller, in C, but IMHO more confusing instead of obsfucating:
If you dive into the C++ hello world, follow every header, every overload and trace every iostream class that is instantiated, it feels like you are sitting on a giant complex structure that was obfuscated by the deceptively simple looking abstraction which causes hello world to be flushed to stdout.
This has had a python 3 update since it was last posted.