strings and sort()

Jason Orendorff jason at jorendorff.com
Mon Feb 25 07:47:55 EST 2002


Jason wrote:
> I like Python, but the biggest problem I have with the language right
> now is what low code density it has at times.

Coming from Scheme or Lisp, that is a likely complaint.

Macros let the programmer trim *all* the fat, *all* the
redundancy, from his code.  This means the semantic density
is high.

Typical Lisp style also puts 6 or more tokens on every line,
not counting parens.  This means the visual density is high.

But:
  Flat is better than nested.
  Sparse is better than dense.
  Readability counts.

That's why Python is the way it is.

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list