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

Donn Cave donn at u.washington.edu
Thu Jul 11 17:17:09 EDT 2002


Quoth Alex Martelli <aleax at aleax.it>:
[... compared to PEP8 on Python code style]

| ...  It's _very_ different for
| PEP 7, on C code style, where there _are_ a couple of points that
| would make me reject a lucrative job offer if part of the
| conditions was that I had to follow that style for a long time --
| and I'd bet that most experienced C'ers find some aspect there
| on which they feel just as strongly, though quite likely on
| different subjects and opposite directions from mine...:-).

I don't know, it looks real close Berkeley KNF to me.  Gets my
vote, not that anyone's counting.  I think I'd go with KNF on
the placement of "else", but otherwise.

	Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list