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

Cliff Wells logiplexsoftware at earthlink.net
Wed Dec 5 19:42:24 CET 2001


On Tuesday 04 December 2001 22:22, Gerhard Häring wrote:

> <?xml version="1.0"?>
> <!-- fancy doctype declaration here -->
> <module name="mypkg.mymodule">
>     <class name="MyClass" inherits="OtherClass">
>         <method name="__init__">
>         <method-params>
>             <method-param name="self"/>
>             <method-param name="foo" default="None"/>
>         </method-params>
>         <method-body>
>         <global name="tabVsSpacesFlamewarHappening">
>         <while-loop>
>             <while-loop-condition>
>                 <value="1"/>
>             </while-loop-condition>
>             <while-loop-body>
>                 <pass/>
>             </while-loop-body>
>         </while-loop>
>         </method-body>
>     </class>
> </python-module>
>
> Better? Seperatation of representation and semantics? The obvious
> disadvantage of an XML representation of sourc code would be that we
> would need *really good* editors to make it not painful.

I don't even know what to think of this, but since you obviously put some 
time into writing it I felt compelled to reply.

-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list