[Oberon] Unneeded restrictions on local procedures
Chris Burrows
cfbsoftware at gmail.com
Thu Dec 21 01:31:22 CET 2023
On Thu, Dec 21, 2023 at 8:23 AM Joerg <joerg.straube at iaeth.ch> wrote:
> Chris
>
> „necessary“ is a big word.
> Strictly speaking and seeing that intermediate objects can no longer be
> accessed in Oberon-07 we could delete them all together from the language.
>
> But they come in „handy“ (nice to have) if you follow the principles of
> „divide et impera“. Logically, a task P1 can be broken down in several
> subtasks. And you want to somehow tell the reader, that subtask P is
> somehow local and only used by P1.
>
Exactly! However, if the language allows you to assign that local procedure
to a global procedure variable the reader can no longer depend on that
being true.
Regards,
Chris Burrows
CFB Software
https://www.astrobe.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20231221/07a53dea/attachment.html>
More information about the Oberon
mailing list