Hacker News new | ask | show | jobs
by grandchild 710 days ago
If nothing else, do adopt f-strings. It really makes the code cleaner!
1 comments

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..