by smohare · 3mo ago · 0 comments
Been using python for longer than 10 years and immediately started using f-strings when I could. It takes almost no time to understand the basics.
According to Wikipedia[1] the history of string formatting goes back to 1950s. Also, basically every major programming language these days implements it in some form.
[1] https://en.wikipedia.org/wiki/Printf
> senior python developers > great for gatekeeping and job security
Ah, okay, it's just a troll.
"%T", T t
not "{ (expr).__str__()} "
> Ah, okay, it's just a troll.If that helps you sleep at night