DEV Community

Discussion on: Use Python f-strings and never look back!

Collapse
 
evanroggenkamp profile image
Evan Roggenkamp

F strings are fantastic but format absolutely still has its uses. Named format placeholders allow dictionary expansion to dynamic arguments, for one, not to mention string formatting, alignment, etc. I agree for short concise strings, theyโ€™re excellent!

Collapse
 
joeneville_ profile image
Joe Neville

Good points, I didn't think about the alignment aspect as I was writing this. Thanks for the reminder.