2 ms·
I mean sure, but the fact that you had to write 6 strings to illustrate this should tell you something, right? This user_name + ": " + attr1 is easier to e
by dataflow 5y ago
I mean sure, but the fact that you had to write 6 strings to illustrate this should tell you something, right?
This
user_name + ": " + attr1
is easier to eyeball than
concat(user_name, ": ", attr1)
- cttet 5y agoTo me they are similar though. I used Python quite a lot, for string concatenation, I mostly use fstrings. `+` is used mostly in the `+=` case.