2 ms·
Really? Try using the new "match/case" keywords. Understand all of the most used cases. Try using a walrus operator in a multi-line if/elif statement or a comp
by wheelerof4te 4y ago
Really? Try using the new "match/case" keywords. Understand all of the most used cases.
Try using a walrus operator in a multi-line if/elif statement or a complex comprehension.
Try to understand the subtleties of the new dictionary merge operator.
And the best one, try learning the typing annotations.
All this on top of already complex OOP class system.
Good luck.
- xigoi 4y agomatch/case is similar to other languages. Walrus is just assignment-as-an-expression. The subtleties of dict mergining don't matter 99% of the time. Type annotations are great and not hard to learn.
- xdfgh1112 4y agoI use all of those! I used to program Perl and Rust though, so maybe my preference for complexity in languages is higher than yours. I understand your argument though. If you picked Python because of its simplicity, and now it has a ton of new syntax and features, I can see how that would be difficult to tolerate.