[Oberon] Where's Coco's 'hello world' ?
joerg.straube at iaeth.ch
Thu Jul 31 18:48:39 MEST 2008
Normally, Wirth lives according to "Make it as
simple as possible but not simpler".
Look at this syntax:
a) IF Cond THEN Statments END;
b) WHILE Cond DO Statments END;
Sometimes during debugging algorithms I find
myself in the position to start with an IF and
change it later to a WHILE! (Don't know, if
I'm the only one with such an approach...)
So, I have to change the "IF" into a "WHILE"
AND THE "THEN" INTO A "DO"!!
I always was wondering why he did not propose
a) IF Cond DO Statements END;
Just my thoughts :-)
More information about the Oberon