List Comprehension Syntax

François Pinard pinard at iro.umontreal.ca
Mon Jul 12 09:32:14 EDT 2004


[Peter Hansen]

> Unfortunately, python-mode.el is wrong, since it results in code that
> is harder to maintain (at least with another editor).

I'm not arguing here if `python-mode.el' is right or wrong.

However, for me at least, the greatest virtue of Python is that one can
write it legibly, and maintainability mainly results from legibility.

Being easier or harder to maintain with this or that editor is rather
irrelevant, if legibility is at stake.  A lot of people are using lesser
editors anyway, and do all their alignment "by hand".

> But if you let emacs define the limits of your world, then it's
> probably okay to do it that way. ;-)

I do see the smiley.  Yet, if people use an editor which is more helpful
on the side of legibility, it's not limitative, but plain good for them!

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard



More information about the Python-list mailing list