Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It makes it harder to see which values actually go where though.

You can name the variables in the format string and then pass the expressions as keyword parameters.



You can do that with f-strings too... but you don't need to because they're generally already clearer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: