| Store | Cart

What does "Sparse is better than dense" mean? (Python Zen)

From: Alex Martelli <ale...@aleax.it>
Fri, 12 Jul 2002 07:33:24 GMT
James J. Besemer wrote:
        ...
>> Interestingly enough, I find I can live with everything that is>> mandated in PEP 8 -- some recommendations are not my favorite ones,>> but there's nothing really major in it that irks me.> > It's hard to complain about a style guide that acknowledges up front that> "A Foolish Consistency is the Hobgoblin of Little Minds" and that> furthermore common sense may at times dictate breaking the rules.

Not hard at all -- PEP 7 does that too, yet every time I see
that construct...
        }
        else {
my blood still boils!-)

Further, PEP 7 is enforced for patches to Python -- sensibly, mind you,
as we wouldn't want Python's C sources to be a mixmax of styles -- but...


Alex

Recent Messages in this Thread
Alex Martelli Jul 11, 2002 02:28 pm
Martijn Faassen Jul 11, 2002 04:54 pm
Alex Martelli Jul 11, 2002 08:28 pm
Donn Cave Jul 11, 2002 09:17 pm
James J. Besemer Jul 12, 2002 05:43 am
Eddie Corns Jul 12, 2002 02:40 pm
Donn Cave Jul 12, 2002 05:18 pm
James J. Besemer Jul 13, 2002 06:01 am
Donn Cave Jul 13, 2002 07:26 am
James J. Besemer Jul 13, 2002 10:34 am
Michael Hudson Jul 15, 2002 02:47 pm
Aahz Jul 13, 2002 03:28 pm
Alex Martelli Jul 12, 2002 07:33 am
James J. Besemer Jul 12, 2002 08:33 am
Messages in this thread