"Raymond Hettinger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > FWIW, after this is over, I'll put together a draft list of these > principles. The one listed above has served us well. An early draft of > itertools.ifilter() had an invert flag. The toolset improved when that > was split to a separate function, ifilterfalse(). > > Other thoughts: > > Tim's rule on algorithm selection: We read Knuth so you don't have to. > > Raymond's rule on language proposals: Assertions that construct X is > better than an existing construct Y should be backed up by a variety of > side-by-side comparisons using real-world code samples. > > I'm sure there are plenty more if these in the archives.
This would make a good information PEP to point people to when they ask 'Why ...' and the answer goes back to one of these principles. Terry J. Reedy _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com