Jul-13-2019, 12:27 AM
f-string are awesome, but there are times when i like to continue to use format method. For example when i want to simplify the string and not pollute it with a bunch of expressions. Sometimes its nice to split them off. The string can get a little messy, i think.
However everyone instructs to use f strings over format. IF at any point format method was to become obsolete, then i would agree to get comfortable using f string all the time. But i dont think that is going to go. In that case we are going to have f strings and format method side by side.
Im just curious as to what others think? I remmeber a discussion about it when it was new, but nothing much lately.
However everyone instructs to use f strings over format. IF at any point format method was to become obsolete, then i would agree to get comfortable using f string all the time. But i dont think that is going to go. In that case we are going to have f strings and format method side by side.
Im just curious as to what others think? I remmeber a discussion about it when it was new, but nothing much lately.
Recommended Tutorials: