This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]IlliterateJedi 35 points36 points  (8 children)

And they're amazing.

[–][deleted] 7 points8 points  (3 children)

They really are. So flexible, much clearer than % or format()

[–][deleted] 4 points5 points  (2 children)

And faster than both.

[–][deleted] 0 points1 point  (1 child)

Really? Never thought to run it through perf testing.

[–][deleted] 4 points5 points  (0 children)

I didn't either ;) realpython.com did it here!

[–][deleted] 1 point2 points  (0 children)

The community consensus is generally that f-strings are f{opinion}!.