[Oberon] Multiple RETURN in a procedure

Paul Reed paulreed at paddedcell.com
Sun Oct 23 14:11:04 CEST 2022


On 2022-10-23 05:04, Skulski, Wojciech wrote:
> I know this is a recurring topic, but still... what is so sinister
> about multiple RETURN statements?... I am now facing [rewriting] three 
> thousand
> lines of my Oberon-2 library.

I totally sympathise with this. But in the long run I believe the pain 
is worth it.

Features like LOOP, multiple RETURN etc. make the code more writable.

Removing them makes the code more readable.

Cheers,
Paul


More information about the Oberon mailing list