Comment

Comment by sixstringtheory

Favorite thing I learned recently was that instead of doing

    print (f’some_var: {some_var}’)
one can just do

    print (f’{some_var=}’)
What’s the next cool thing I should know about f-strings?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton