[Oberon] SystemV- Heap + Module Space

Richard Hable informujo at aon.at
Sat Jan 5 09:00:47 CET 2019


On 04.01.19 23:33, Jörg wrote:

> Instead of adding a comment        IF res = 3 THEN (* corrupted file *) ... END;
> a constant could help                      IF res = corruptFile THEN ... END;

Actually, both lines are readable, but the first line gives more
information: as soon as you start debugging—even if it’s just with a
simple write statement, you will want to know what the value 3 in res
actually means.

Richard



More information about the Oberon mailing list