4 ms·
HAHA Python is fucking readable. https://github.com/hiddenillusion/AnalyzePE/blob/master/AdobeMalwareClassifier.py https://github.com/hiddenillusion/AnalyzePE/b
by ycamel 13y ago
HAHA Python is fucking readable.
https://github.com/hiddenillusion/AnalyzePE/blob/master/AdobeMalwareClassifier.py https://github.com/hiddenillusion/AnalyzePE/blob/master/Adob...
http://blog.delroth.net/2013/03/escaping-a-python-sandbox-ndh-2013-quals-writeup/ http://blog.delroth.net/2013/03/escaping-a-python-sandbox-nd...
- RussianCow 13y agoAny language can be made unreadable. I can write terrible Ruby/Perl/PHP/JavaScript, too. Doesn't make them bad languages.
- ycamel 13y agoYes, Python is more unreadable than Perl to me. :) Read https://coosoft.wordpress.com/2013/02/24/the-perl-vs-python-debate/ https://coosoft.wordpress.com/2013/02/24/the-perl-vs-python-...
- ycamel 13y agoI can't understand Why Pythonista always interfer in other languages articles and bitching it and propaganda Python. Get out Python anal fucker.
- mitchty 13y agoAgreed, I"m a Ruby person personally and often end up writing things that later I only shake my head at and rip out and replace with a few lines or a better idiom/algorithm. To be honest the parent comment to yours first link reminds me of a rather lot of shell/perl created by people that treat things with the procedural mindset and just keep bashing their heads against a problem until it succeeds. There isn't anything wrong with that but that python really is no different stylistically than any of the "horrible perl" stories I've seen. I've seen perl that made most ruby look unreadable at first glance too. I think it really goes to show encrypting human thought into programming languages is not trivial. Also I'm getting sick of these $foo_language is better/worse/a threat(really threat? weird word choice imo) to anything. Every language I learn I learn something new in. Even if its the ones I don't like much like Java/PHP, doesn't mean they're bad languages or they're devoid of being able to teach you new ways to approach problems. Meh, ranted longer about this than I'd thought I would.
- chromatic 13y agoTo be honest the parent comment to yours first link reminds me of a rather lot of shell/perl created by people that treat things with the procedural mindset and just keep bashing their heads against a problem until it succeeds. To my mind, that's a success for Perl: it allows people who wouldn't otherwise be able to write programs to do so. Sure, they make messes--who doesn't at first?--but they get things done.
- mitchty 13y agoTrue enough, just pointing out that you can write... ugly code in any language. Bash/perl tend to get abused more often from what I've seen. Hopefully they improve in the future.
- mahmud 13y agoThat first link is terrible. They should have used a rules engine.