Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sitkack
· 5y ago · 0 comments
F strings are the f"ing shit"
Comments
[–]
ganstyles
5y ago
I like them for the most part. Almost always more readable to out things in the brackets rather than the .format at the end, and always better than the %. Occasionally I still use .format with really long strings though for readability.
[–]
ignoranceprior
5y ago
GP said that f-strings were "the f***ing shit", not "f***ing shit", so I assume it was meant as a positive comment.
[–]
solveit
5y ago
Not OP but I guess that's another colloquialism I shouldn't use around non-native speakers.
[–]
sitkack
OP
5y ago
Correct, I am continually impressed with the versatility of eff strings. The-the is very important in that sentence.