tabs do WHAT?

Will Rose cwr at crash.cts.com
Wed Jan 26 07:11:37 EST 2000


Dirk-Ulrich Heise <hei at adtranzsig.de> wrote:
: Warren Postma schrieb in Nachricht ...
:>Rather bloody minded of me to point this out, but hey "to each his own"...
:>
:>#define BEGIN {
:>#define END     }

: Of course; now convince people to *use* this throughout their programs.
: Until a committee can declare "{" and "}" as obsolete.

:>
:>Can I do the same somehow in Python?  ;-)
:>

: No. If you need optical block markers, i suggest this:

: def blah():
:   #begin
:   ...
:   #end

: Makes the code look nearly like Pascal; except for you don't get
: the "semicolon"-errors. Ain't that cute.

This is a very bad idea.  You see one set of delimiters, and the
interpreter sees another - not cool.


Will
cwr at cts.com




More information about the Python-list mailing list