On Fri, Apr 10, 2015 at 4:44 AM, Andrew Farrell <amfarr...@mit.edu> wrote:
> I am under the impression that using format() is the canonically "right way
> to do it". It is certainly more readable than using ''.join() and is more
> semantically specific than string addition.

Depends what you're doing. Sometimes it's better to interpolate, but
the main point is that addition of three strings is nothing to fear.
Definitely addition of two strings can never be worse than any of the
more complicated alternatives.

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

Reply via email to