2 ms·
> I've been seeing a growing anti-python sentiment lately Despite the name, I don't think this is anti-python, in the same way classics like [0] are anti-PHP.
by evil-olive 6y ago
> I've been seeing a growing anti-python sentiment lately
Despite the name, I don't think this is anti-python, in the same way classics like [0] are anti-PHP. The project README mentions this a bit:
> While some of the examples you see below may not be WTFs in the truest sense, but they'll reveal some of the interesting parts of Python that you might be unaware of. I find it a nice way to learn the internals of a programming language, and I believe that you'll find it interesting too!
0: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
- Doxin 6y agoFair enough I suppose, but I'm still seeing posts like the OP getting linked all over the place by people trying to disparage python as a language. Of course once you get more deeply into a language it's probably a really good thing to get to know all the weird edge cases. One of my favorite past-times is writing intentionally terrible code just to exercise some of those edge cases. For instance this hello world code uses quite some oddball language features: https://gist.github.com/SuperDoxin/fde4fdad237e85a90c8764cdf88eadf5 https://gist.github.com/SuperDoxin/fde4fdad237e85a90c8764cdf...
- foolfoolz 6y agothis is the same defense against the php and javascript posts: if you know the entire language really well none of these are actually problems
- Doxin 6y agoIf you'll read more carefully you'll find that that's not what I said. I said none of these are problems you'll run into. Even as a newcomer. Once you're getting better at the language it's nice to know these edge cases because they teach you details about the language you'd otherwise miss out on.