Tabs -vs- Spaces: Tabs should have won.

Dan Stromberg drsalists at gmail.com
Sat Jul 16 20:13:34 EDT 2011


On Sat, Jul 16, 2011 at 4:52 PM, Cameron Simpson <cs at zip.com.au> wrote:

> Well to some extent because I share files with
> another who uses 4 position tabs. Editing these is a real nightmare if
> one uses 8 position tabs (as I do, the common editor/terminal default
> these days).


8's been the default in pretty much everything for as long as I can
remember.


> For pure indentation you may get sane (if wider that liked)
> results, bit any multicolumn stuff is badly broken by the mismatch.
>

That's why you use tabs before your commands, spaces after your commands -
if you insist on putting comments on the same line as a command.

It's also why it's better to put comments on lines by themselves, rather
than tacking them onto the end of something else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110716/24137f2f/attachment-0001.html>


More information about the Python-list mailing list