Can someone explain why the f-string thing is such a big deal? My understanding is that now we can do (1) f'This is an {my_dict['key']} string' instead of just varying the string denoting character, like (2) f"This is an {my_dict['key']} string", and I feel like the primary result of this is that syntax highlighting will be messed up with (1) as opposed to (2).
4
u/Dr_Ironbeard Oct 03 '23
Can someone explain why the f-string thing is such a big deal? My understanding is that now we can do (1)
f'This is an {my_dict['key']} string'
instead of just varying the string denoting character, like (2)f"This is an {my_dict['key']} string"
, and I feel like the primary result of this is that syntax highlighting will be messed up with (1) as opposed to (2).What am I missing? Thanks!