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-October/038830.html below:

[Python-Dev] inline sort option

[Python-Dev] inline sort option [Python-Dev] inline sort optionAahz aahz at pythoncraft.com
Thu Oct 16 14:51:57 EDT 2003
On Thu, Oct 16, 2003, Guido van Rossum wrote:
>
> *If* we're going to consider this, I would recommend using a different
> method name rather than a keyword argument.  Arguments whose value
> changes the return type present a problem for program analysis tools
> like type checkers (and IMO are also easily overseen by human
> readers).  And, it's easier to write l.sorted() rather than
> l.sort(inline=True).

Let's make explicit: l.copysort()

I'm not a big fan of grammatical suffixes for distinguishing between
similar meanings.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan

More information about the Python-Dev mailing list

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