Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I used to be skeptical, but the great David Beazley convinced me that f-strings rocked because they were faster and better, in his talk "The Fun of Reinvention (Screencast)".

The point he made was to embrace the new features of Python, and put old Python out of its misery, instead of wasting your time with backwards compatibility.

Just call whatever you're doing in the latest version of Python a "prototype", then ship it.

At 10:20 he talks about things you can do to put old Python out of its misery (dead parrot), including f-strings and ordered dictionaries.

The Fun of Reinvention (Screencast):

https://www.youtube.com/watch?v=js_0wjzuMfc

Invited Keynote Talk from PyCon Israel, June 12, 2017. I cause trouble and build a framework using all sorts of new Python 3.6+ features.



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

Search: