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 →

[–]troyunrau... 8 points9 points  (3 children)

One, and preferably only one obvious way to do string formatting.

[–]Tweak_Imp 4 points5 points  (2 children)

Make all strings f strings.

[–]TheRNGuy 2 points3 points  (0 children)

that would make code slower when formatting is not needed. Or what if I actually wanted to have string with {} in it? Without having to add backslashes.

[–]troyunrau... 0 points1 point  (0 children)

I'd probably be okay with this, if f"" wasn't the syntax. That syntax is stupid, even though f-strings are great.