Comment by ilovetux
3 days ago
I love python f-strings. I dont use the format specifiers that this article points out.
Also, even though use in log messages is discouraged, I go ahead and use them. It will let me know if there is some code path where the proper variable is never set. This usually comes out through testing, especially during fuzzing so I guess it really only works because of my testing, otherwise it would come up during runtime...
No comments yet
Contribute on Hacker News ↗