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-February/033139.html below:

[Python-Dev] Re: Trinary Operators

[Python-Dev] Re: Trinary Operators [Python-Dev] Re: Trinary OperatorsEric S. Raymond esr@thyrsus.com
Thu, 6 Feb 2003 18:10:46 -0500
Gary Herron <gherron@islandtraining.com>:
> On Thursday 06 February 2003 02:20 pm, Eric S. Raymond wrote:
> > Andrew Koenig <ark@research.att.com>:
> > > Eric> Yeeeouch.  And the proposed n-ary form is even worse.
> > >
> > > On the other hand, we already have the problem with list comprehensions:
> > >
> > >         [f(i) for i in range(n) if g(i)]
> > >
> > > Here, every evaluation of f(i) is preceded by an evaluation of g(i).
> >
> > Uh...but this is one of the reasons I never liked list comprehensions.
> 
> Perhaps because I'm a mathematician, I find the list comprehensions
> very comfortable.  It corresponds quite well with the mathematical
> notation for defining sets: {2*x | for all x in someSet}

I used to be a matrhematical logician.  This doesn't help me like it
any better, I'm afraid.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>



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