help explaining rationale for indentation

Charles Hixson charleshixsn at earthlink.net
Wed Aug 23 16:15:58 EDT 2000


But what I really want is another kind of paren/brace to use for
sorted/sliceable directories (i.e., sorted trees).

If tuples were combined with lists then there would be a free set of braces.
But I still wouldn't want then to be used for structuring.  Yes, I miss the
redundancy of braces + indented code (too bad the compilers won't check for a
match there, but at least the editors will).  But which construct would you
give up?  Of course I suppose code could be seen as a kind of tuple ... that
could have interesting uses.  (Just don't see it as a list!)

"John J. Lee" wrote:

> On Tue, 22 Aug 2000, Penfold wrote:
> [...]
> > Aron Insinga <ainsinga at infomation.com> wrote in message
> > news:4.2.2.20000822154442.00bb2610 at pop.enterprise-services.com...
> > > *sigh*  A couple of my coworkers think it is hard to read Python code
> > since
> > > there's no '}' at the end of a compound statement.  S section of the
> [...]
>
> If that's really a problem, someone can write something for emacs to put
> {}s in on reading a file and take them out again on writing.
>
> John

-- (c) Charles Hixson
--  Addition of advertisements or hyperlinks to products specifically
prohibited

-------------- next part --------------
A non-text attachment was scrubbed...
Name: charleshixsn.vcf
Type: text/x-vcard
Size: 153 bytes
Desc: Card for Charles Hixson
URL: <http://mail.python.org/pipermail/python-list/attachments/20000823/0b4d1821/attachment.vcf>


More information about the Python-list mailing list