[Python-ideas] The non-obvious nature of str.join (was Re: sum(...) limitation)
Mark Lawrence
breamoreboy at yahoo.co.uk
Mon Aug 11 20:57:23 CEST 2014
On 11/08/2014 18:51, Haoyi Li wrote:
> One reason I think this is confusing is that "list.join(sep)" is how
> basically everyone else does it, including: Ruby, Javascript, Scala,
> Guava-Java (normal java doesn't have anything). People who don't do it
> this way include C# (static method), Boost-C++ (static method), PHP
> (static method)
>
> Nobody does it the Python way AFAICT.
>
So one and only one language got it right and the rest got it wrong,
what about it?
Now is it possible to leave this vitally important issue and move on to
something trivial, e.g. helping people port Python 2 code to Python 3?
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Python-ideas
mailing list