logoalt Hacker News

smohareyesterday at 8:24 PM1 replyview on HN

Right, because x + " " + y is more clear than of simply f"{x} {y}".

Been using python for longer than 10 years and immediately started using f-strings when I could. It takes almost no time to understand the basics.


Replies

layer8yesterday at 10:00 PM

Personally I do find the first version clearer, because it is based on general language rules.

show 1 reply