[Oberon] LOOP conversion
cym224 at gmail.com
Tue Jan 5 00:05:08 CET 2021
On 01/04/21 07:22, August Karlstrom wrote (in part):
> On 2021-01-04 11:19, Chris Burrows wrote (in part):
>> Here's a trickier example for anybody who is up for a challenge. It was
>> found in ETH Oberon - TextFrames.Menu:
> I wholeheartedly agree with Jörg that this provides an excellent
> example of why LOOP and EXIT should be abandoned.
When you abandon constructs, whether good or bad, you effectively orphan
all the code that used it. Commercially, this forces you to decide
whether you can afford to modify existing code. There is no easy answer
here but, in my opinion, is always something to keep in mind.
More information about the Oberon