Le Thu, 14 May 2009 02:00:40 +0200, Thomas Martitz thomas.martitz@student.HTW-Berlin.de s'exprima ainsi:
Any tab+space will be broken if the user choses another tab width that the author did.
You're wrong here. TAB indents will be correct whatever the *reader's* indent-width setting. Then spaces align for visual clarity. E.g. below:
class Dummy(SuperDummy): ''' SuperDummy specialized for cases of blah blih bluh. ''' def __init__(self, foo, # required at creation time bar=None): <do init>
Written in Geany with tab=4sp, pasted into email client where tab=8sp, then whatever happens on your side. I don't use this tab+space scheme everyday myself; but have to admit it makes sense, works fine and is consistent.
[I recognize too that the proponents of tab for indent who say that "1 tab = 1 indent" is a nice & simple mapping are true, while I rather use spaces to comply with coding guidelines.]
Denis ------ la vita e estrany