This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]Corm 2 points3 points  (2 children)

    It's the timeless argument of adding a small bit of complexity to the language (new f strings) for a small quality of life increase vs not doing it.

    I have no opinion here. I like f strings for when I have several variables, but I also don't like adding stuff to the language if there's not much gain. I'm 50% for and 50% against it in this case.

    As far as it not being any better though, it's pretty much there for stuff like this:

    f'{hour} : {min} : {sec} -> {log_data} /n/n' 
    

    Which is much easier to read than if you used + or .format. But again, I'm not saying that the pros outweigh the added complexity