I'm trying to actually learn python and use it for more than quick / dirty one-off scripts, and am wondering why is it best practice (or, is it even considered best practice) to use f-strings or string format instead of just using '+' for concatenation?
For example...
some_file_name = "abcd"
file_name = some_file_name + ".yaml"
file_name = f"{some_file_name}.yaml"
file_name = "{}.yaml".format(some_file_name)
What is the best practice here? Why not just use '+' to concatenate the variable and the string?