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

Thanks for the reasons! I've been using f-strings because they're easy to keep track of, but you make really good arguments (I hadn't thought of Sentry/similar systems using %s to aggregate logs)


They aren't just arguments, it's facts. f-strings in logs, especially in a hot code path, can be really bad for performance.


I've been lucky enough to not need Python in a perf-sensitive project




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

Search: