Larry Wall's comment on python...

Sean 'Shaleh' Perry shalehperry at attbi.com
Sat Sep 7 17:29:26 EDT 2002


On Saturday 07 September 2002 13:46, yka wrote:
> Kow Kuroda wrote:
> > Well, Python code may look awkward --- if not awk-like ---
> > if you don't know how to customize the tab width in your
> > editor of choice. For example, vi and emacs indent by 8
> > characters by default, which I suspect is too wide for Python.
> > Some code with deep nesting wouldn't look very nice with
> > this default.
> >
> > Kow
>
> Well at vim :set ts=4 makes more fitting

actually emacs defaults to 4 space indenting and does not bother with tabs.  I 
find that code which plays games with how large a tab is always looks ugly 
unless viewed in the same editor it was written in.




More information about the Python-list mailing list