HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by myle | Hacker News Reader
Full thread
myle
·
String concatenation is pretty fast nowadays with the + operator.
View on HN
elbear
·
Do you have a source? Also, I would argue that concatenation with + is less readable than string formatting.
NigelTufnel
·
I think that concatenation with + is okay when you're concatenating two strings. And CPython can optimize x = x + y or x += y calls.
http://docs.python.org/2/library/stdtypes.html
Reply on news.ycombinator.com