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

They are on average great, but don't you agree that it's not always better? If the expressions get too long, it gets less readable than splitting the placeholders from those expressions.


This is a tool, for use in certain circumstances. Screwdrivers are great, but you don't always use them.


Some of the linters don't know that and enforce f-strings. I know, we can't let the tools decide but sometimes that's just what happens at a workplace..




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

Search: