[Oberon] Eliminating RETURN statements

Joerg joerg.straube at iaeth.ch
Wed Apr 8 18:44:04 CEST 2020



Gruss
Jörg

> Am 08.04.2020 um 18:22 schrieb Hans Klaver <hklaver at dds.nl>:
> 
> 
>> 
>>> This Oberon-07 code is definitely much more convoluted than 
>>> the C and older Oberon code, obscuring the algorithm considerably.
>>> 
>> 
>> It's the opposite, these premature exits (return, continue, exit etc..) hide the post-condition of the algorithm.
>> 
>> In Jörg's examples they are easy to guess, but harder when a RETURN statement is present.
> 
> OK. Jörg and Chris convinced me.
> 
> --
> Hans Klaver
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list