[Oberon] Module finalization - language construct or system call
hellwig.geisse at mni.thm.de
Mon Jan 4 16:29:23 CET 2021
On Mo, 2021-01-04 at 15:50 +0100, Andreas Pirklbauer wrote:
> I would like to solicit input on whether to realize “module finalization”
> via a CLOSE language construct or via a system call such as
> Modules.Close. See the test module M below. Both are currently
> available in Extended Oberon, both are trivial to implement (only
> a few lines each), but the question is what one *should* offer.
I would opt for a proper language construct, as this
is a symmetrical complement to the initialization of
a module. I would however prefer a different keyword
for it, e.g. "FINAL", because "CLOSE" has a tight
connotation to files, at least for me.
More information about the Oberon