Re:WTF Python: Exploring and understanding Python through su...
by foolfoolz on Thursday February 11, 2021 @03:13AM
(#26099361)
this is the same defense against the php and javascript posts: if you know the entire language really well none of these are actually problems
Re:WTF Python: Exploring and understanding Python through su...
by Doxin on Thursday February 11, 2021 @03:20AM
(#26099409)
If 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.
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/fde4fdad237e85a90c8764cdf...