[Oberon] On praise of repeat-until construct

eas lab lab.eas at gmail.com
Sat Jun 25 10:53:16 CEST 2016


> Its semantics matches to intuition; "do something till this happens".
> Where as do-while construct of C feels so odd now!

Intuition and feeling don't over-rule rational argument.

RepeatUntil does not allow the <zero loop> case.

So DoWhile is more universal.

OTOH the most universal is GoTo; which we don't want.

== Chris Glur.


More information about the Oberon mailing list