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/2000-July/007151.html below:

Feature bloat in Python (was some PEP thing!)

[Python-Dev] Re: Feature bloat in Python (was some PEP thing!) [Python-Dev] Re: Feature bloat in Python (was some PEP thing!)Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 23 Jul 2000 10:26:24 +0200
neil wrote:
>
> > j=3D[for k in a: if k%2: k*2] # list comprehensions
>=20
>    Maybe I'm trapped in my past here but my "sight reading" of list
> comprehensions brings back memories of BCPL which would have =
propagated the
> result of the loop (IIRC, the last expression evaluated within the =
loop) as
> the result of the expression. Its hardly obvious what this does based =
on
> experience with most current languages including C++, Java or VB.

and my "sight reading" of this is that j is an anonymous function
with a rather meaningless for-loop in it...

</F>





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