[Oberon] Intermediate scopes in Oberon-07
Andreas Pirklbauer
andreas_pirklbauer at yahoo.com
Sun Feb 11 18:33:00 CET 2018
> I only declare TYPEs if I use them several times (and as base
> RECORD of a type inheritance hierarchy). To be able to use
> them several times, I normally declare them on module level.
>
> Jörg
That’s the approach that most people seem to take (apart from
the few exceptions that were cited earlier).
PS: There is another (small) difference between global and local
record types: no type descriptors are built for local record types.
This makes the object file a tiny little bit smaller ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20180211/8fc4c3af/attachment.html>
More information about the Oberon
mailing list