Hacker News new | past | comments | ask | show | jobs | submit login

Not sure anyone will see this but this article is partly trash. When your post is titled "things you are not using in python3 but probably should" and the first section is on f-strings... I was tempted to close the tab then , but i followed thru and did find some interesting things.

But seriously f-strings? people have been talking about these for years now, it's not new is it?




If you look through the other comments here, you'll find plenty of people who didn't know about f-strings prior to this article.


f-strings were added in Python 3.6, released in December 2016.

All the other features mentioned in the article, except data classes, are older than that.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: