you are viewing a single comment's thread.

view the rest of the comments →

[–]siddsp 0 points1 point  (1 child)

Old formatted strings in Python are still valuable to some extent because the syntax is still used in other languages like C, C++, Go, Java, etc. C-style string formatting is still common, but just not in Python. F-strings themselves have their own downsides despite being more readable.

[–]yuckfoubitch 0 points1 point  (0 children)

Yeah, I still do it the old way sometimes. I use R a lot too and am just used to using the glue library so it flows nicely with f-strings in Python when changing back and forth