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

[Python-Dev] accumulator display syntax

[Python-Dev] accumulator display syntax [Python-Dev] accumulator display syntaxGuido van Rossum guido at python.org
Thu Oct 23 00:25:49 EDT 2003
> > >     pipe = source
> > >     for p in predicates:
> > >         pipe = e for e in pipe if ^p(e)
> > 
> > Bah.  Arbitrary semantics bound to line-noise characters.  Guess what
> > that reminds me of. :-)
> 
> If anyone can think of anything less line-noisy, I'm
> open to suggestions. The important thing is the idea of
> explicitly capturing an enclosing binding, however it's
> expressed.

I think that no matter what notation you invent, this will remain an
unpythonic thing.  I can't quite explain why I feel that way.  Maybe
it's because it feels very strongly like a directive to the compiler
-- Python's compiler likes to stay out of the way and not need help.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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