[Python-ideas] Why not ['a','b','c'].join(',') ?
apalala at gmail.com
Sat Mar 23 19:35:25 EDT 2019
I know it has been discussed endlessly, so just a gentle reminder about the
final arguments would be good. I think I remember it was discussed
recently, mentioning that join() doesn't convert elements to strings?
This came up while reading this speculative article about how programmers
migrate from one programming language to the other (I call it speculative
because there's no hard data, but the conclusions and comments pretty much
match my experience and my observations over decades [I would add an arrow
from Python3 to Rust]).
In that sense, I think it wouldn't hurt to make Python more
familiar/friendly to people coming from other languages, even if it breaks
"There should be one-- and preferably only one --obvious way to do it."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas