Whitespace as syntax (was Re: Python Rocks!)
Michael Ströder
michael.stroeder at inka.de
Thu Feb 10 04:09:41 EST 2000
tye4 wrote:
>
> Listed below, from worst to best block delimiter schemes found in languages.
>
> Pascal. Score: 2/10. Pascal is my most favorite lang... however, hate those
> 'begins' - they create double indentation as shown below. This bug was fixed
> in future incarnations of Pascal, e.g. Ada
Pascal is your most favorite lang and you don't mention Modula?
> Ada. Score 10/10
> No redundant 'begin' or '{'. Visible indicator of end of a block
>
> if foo then
> bar;
> stool;
> end if
=> Modula. Score 10/10
if foo then
bar;
stool;
else
nobar;
end;
Ciao, Michael.
More information about the Python-list
mailing list