3 ms·
If nothing else, do adopt f-strings. It really makes the code cleaner!
by grandchild 2y ago
If nothing else, do adopt f-strings. It really makes the code cleaner!
- kzrdude 2y agoThey 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.
- the__alchemist 2y agoThis is a tool, for use in certain circumstances. Screwdrivers are great, but you don't always use them.
- kzrdude 2y agoSome 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..