Just because there seems to be an orgy of people agreeing that Tabs are the One True Way, I feel a need to point out that there are those of us who fervently believe that Tabs Are Evil. The reason is that tabs are interpreted differently in different places, and they're indistinguishable from spaces upon casual inspection. So the visual appearance of mixed spaces and tabs can be highly misleading and confusing, especially in an environment with multiple developers, each of whom may have a different tab setting.
Spaces are unambiguous. As it's the meaning of the source that matters, and editors can be tuned to personal taste, I'm in favor of leaving the source clean of tabs and letting people tweak their editors to their own liking. In my view, Python should consider leading tabs to be a syntax error (and yes, I know about the -tt switch). Kent -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Erik Moström Sent: Tuesday, November 29, 2005 4:18 PM To: Chris Barker Cc: Louis Pecora; pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces) Chris Barker <[EMAIL PROTECTED]> 2005-11-29 20:40: > > I would think that TAB would be infinitely better and avoid the > > problems you point out that probably plague a lot of editors when > > doing Python code. > > I agree. Tabs would be easier in most cases, but: Thank you, while I really like Python I've never figured this one out. But I have other style things also that isn't "true" python ;-) jem -- Jan Erik Moström, www.mostrom.pp.se _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig