3 ms·
This is my favorite change in this release and cause me to upgrade to the RC version a few days ago. It's a huge QoL improvement for so much code I write. I'm
by meowface 6y ago
This is my favorite change in this release and cause me to upgrade to the RC version a few days ago. It's a huge QoL improvement for so much code I write.
I'm also a fan of the walrus operator. These are small, rare, clear, useful, idiomatic new features, in my opinion.
- smitty1e 6y agoIt is outstanding that that the new features have an audience. One frets that Python could become a victim of 'featuritis' as the devs try to shop for a new kitchen sink for each release.
- fireattack 6y agoI personally feel walrus operator is a much more prominent improvement, considering how prevalent it can be used (like, I use it in almost every single `re.search()`, and at least half of conditional list comprehensions and `while`), while I don't find the old way of updating dict (`{a, b}` etc.) too bad. But of course, both are very welcomed!