On 4/30/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> for the record, this just appeared on comp.lang.python:
>
>     hello everyone! I can't seem to find a function that combines a list of
>     items into a string with a seperator between the individual elements..
>
> which, based on the law of design based on random sampling of c.l.python,
> indicates that the current situation is not optimal.

I for one found the move to put join() as a string method _very_
unintiutive, and rather arbitrary. Lets just be different for the sake
of being different.

It makes far more sense to put the method on the data that you are
acting upon. If you're joining a list, then join() should be a list
method. This is something that Ruby does right, IMHO.

Mike
--
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to