peter <peter.mos...@talk21.com>:

> Obviously this isn't going to change, but for concatenating short
> strings a and b is there any practical reason to avoid a+b?

Often, no. The biggest penalty is visual. For example, I would prefer
this:

    "{}/{}".format(prefix, suffix)

over

    prefix + "/" + suffix


Really, I would and do.


Marko

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to