Deprecate tabs for indenting (was Re: Indenting with tabs vs spaces)

Neil Hodgson nhodgson at bigpond.net.au
Sun Dec 2 23:25:04 EST 2001


Peoter Veliki:

> With tabs, each person can set the indenting width to whatever value
> he/she likes best.  As one person pointed out, a tab is a variable.  This
> flexibility is tantamount to a "separation of style and content".  This is
> an argument *for* using tabs.

    It could also be an argument for editors interpreting indentation spaces
differently to post-indentation spaces. If you have a file formatted with 4
space indentation and prefer 2 space indentation, then the editor can simply
interpret each indentation space as taking up half the width that it would
otherwise need.

   Neil






More information about the Python-list mailing list