Whitespace as syntax (was Re: Python Rocks!)
Juergen A. Erhard
jae at ilk.de
Thu Feb 10 19:42:40 EST 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Robert" == Eaglestone, Robert [NGC:B918:EXCH] <Eaglestone> writes:
Robert> Michael Ströder wrote:
>>
>> => Modula. Score 10/10
>>
>> if foo then
>> bar;
>> stool;
>> else
>> nobar;
>> end;
>>
Robert> Modula gets 9/10. Can't just use 'end', silly!
Robert> Not enough context! How about this:
Sorry, Michael is right... I've worked in Modula-2 for a number of
years (before I got seduced by the evil C ;-)
The only thing wrong with Michael's example is that it's lower case...
IF foo THEN
bar;
stool;
ELSE
nobar;
END (*IF*);
(I've got lots of "END (*IF*);"'s in my M2 sources... ;-)
Robert> if ( foo )
Robert> bar;
Robert> stool;
Robert> else
Robert> nobar;
Robert> endif
Pray tell, what is this? The bastard child of C and (Visual)Basic?
;-))
Modula-2-was-my-first-love-ly y'rs, J
PS: My first love among programming languages, of course! ;-)
PPS: Well, it certainly was the first language I bought a compiler
for... and the last one ;-)
- --
Jürgen A. Erhard eMail: jae at ilk.de phone: (GERMANY) 0721 27326
My WebHome: http://members.tripod.com/~Juergen_Erhard
Electronic Frontier Foundation (http://www.eff.org)
pros do it for money -- amateurs out of love.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Use Mailcrypt and GnuPG <http://www.gnupg.org/>
iEYEARECAAYFAjijWv8ACgkQN0B+CS56qs2oEgCeIQVWTWMwEyv4ihMsJS1Wa+R3
YT4AnR1QUmt7YgiiT3l9toNM+9rQyHU1
=uadq
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list