[Python-ideas] Tuple Comprehensions
Nick Coghlan
ncoghlan at gmail.com
Tue Oct 11 05:43:44 CEST 2011
On Tue, Oct 11, 2011 at 9:36 AM, Karthick Sankarachary
<karthick.sankarachary at gmail.com> wrote:
> Just to clarify, we're just talking about some syntactic sugar here, nothing
> more, nothing less.
And the increased cognitive burden in learning the language isn't
worth it. Write a nice custom reduction function (like sum, any, all,
min, max, etc) and feed it a generator expression.
If you really want to argue the point, please read the following first:
http://www.boredomandlaziness.org/2011/02/justifying-python-language-changes.html
http://www.boredomandlaziness.org/2011/02/status-quo-wins-stalemate.html
And maybe this one as well:
http://www.boredomandlaziness.org/2011/04/musings-on-culture-of-python-dev.html
(I guess those links may be the kind of thing that was being asked for
recently when someone was wondering what kind of reaction to expect
when posting suggestions to this list)
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list