Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
orf
6y ago
0 comments
Save
Share
I hope that’s a joke, because that is a verbose and ridiculous way of duplicating the work that the logging module does, while also making the code less readable and maintainable!
0 comments
1 comments · 1 top-level
top
newest
oldest
mixmastamyk
6y ago
That’s how you defer an expensive function. The fstring part is the joke.
j
/
k
navigate · click thread line to collapse