Hacker News new | ask | show | jobs
by wyattblue 645 days ago
3.8 feels very modern in a way 3.7 or 3.6 doesn't. I wonder about the wisdom of EOLing Python versions in batches, because each change feels so incremental now.
1 comments

What makes 3.8 feel more modern than 3.7 for you? Isn’t the main difference the infamous “walrus” operator?
f-strings mainly. The walrus operator is great because it's so easy to do lisp things with it
3.6 was the version that introduced f-strings. 3.8 added the unrelated walrus operator, but it did also add the `=` debugging syntax for f-strings (I haven't been using it because doing it the old way is practically muscle memory, and the code isn't supposed to be permanent anyway).

Ref: https://docs.python.org/3/whatsnew/3.8.html