Comment

Comment by theptip

    _log(f”My variable is {x + y}”)
Reads to me a lot more fluently to me than

    _log(“My variable is {}”.format(x+y)) 
or

    _log(“My variable is {z}”.format(z=x+y))
It’s nothing too profound.
parent theptip 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton