A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-April/034858.html below:

[Python-Dev] ''.join() again

[Python-Dev] ''.join() again [Python-Dev] ''.join() againBarry Warsaw barry@python.org
21 Apr 2003 12:23:39 -0400
On Mon, 2003-04-21 at 12:05, Aahz wrote:
> Well, this means it's time for my regular reminder that I'm very far
> from an OO purist and I still hate ''.join().  OTOH, I've been using it
> recently for some of my own code, and while I'll never change my mind
> about its visual ugliness, I've got to admit that it has one cardinal
> virtue: you can never forget what order its arguments belong in.

And I'll do my semi-regular rant that 

	COMMASPACE.join(seq)

looks a lot nicer than

	', '.join(seq)

even to the point of starting to /like/ this idiom. :)
-Barry





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4