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/2002-March/020748.html below:

[Python-Dev] Please Vote -- Generator Comprehensions

[Python-Dev] Please Vote -- Generator ComprehensionsGreg Ward gward@python.net
Fri, 8 Mar 2002 10:30:10 -0500
On 06 March 2002, Raymond Hettinger said:
> Before I send generator comprehension portion to Guido for
> pronouncement, I would like to get all of your votes +1 or -1 on just
> the part about Generator Comprehensions.

Well, since the proposal is four orthogonal ideas, may I vote multiple
times?  Here goes...

  -1 on new x{map,filter,...} builtins -- feels like too much at once
  +0 on a new module to provide x{map,filter,...}
  +0.5 on indexed() as a builtin
  +1 on generator comprehensions; I favour the brackets
  -0 on generater parameter passing, -1 on the particular syntax chosen
  -0 on generater exception passing, -1 on using "throw"

(My last two votes are mostly because I haven't used generators very
much and don't really understand either the problem or the proposed
solution.  So yes, I am ignorant.  But I can spot ugly syntax/spelling
when I see it.)

        Greg
-- 
Greg Ward - programmer-at-large                         gward@python.net
http://starship.python.net/~gward/
Vote anarchist.



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