Whitespace as syntax (was Re: Python Rocks!)

Eaglestone, Robert [NGC:B918:EXCH] eaglesto at americasm01.nt.com
Thu Feb 10 17:54:17 EST 2000


Michael Ströder wrote:
> 
> => Modula. Score 10/10
> 
> if foo then
>    bar;
>    stool;
> else
>    nobar;
> end;
> 

Modula gets 9/10.  Can't just use 'end', silly!
Not enough context!  How about this:

if ( foo )
   bar;
   stool;
else
   nobar;
endif



More information about the Python-list mailing list