Hacker News new | ask | show | jobs
by axegon_ 2239 days ago
This. I honestly love the f-string syntax but the fact that there is a clear separation is what makes them appealing - I find it far more convenient to have f"{v1}, {v2}, ... {vN}" vs "{v1}, {v2}, ... {vN}".format(v1, v2, ... vN), not to mention % v1, v2, ... vN.

The way I see it, currently:

* The separation makes them readable and easy to understand.

* Making them implicit will cause hell for many people who rely on user input (and I'm certain a lot would try to exploit that).

* The fact that they are readable, makes them easier to debug, as opposed to trying to figure out where did the "{hey ma look at what i can do}" SyntaxError came and who did what exactly.