4 ms·
Related, they also added a match statement with footguns. Python has "jumped the shark" in its recent envy of other languages. :-/ The existing "as" would ha
by digisign 4y ago
Related, they also added a match statement with footguns. Python has "jumped the shark" in its recent envy of other languages. :-/
The existing "as" would have worked instead of walrus. I've never seen anyone use the additional flexibility that walrus affords because the code becomes too complicated and better at that point to just use two lines.