[Oberon] Modula2 vs Oberon IMPORT
dukeofperl at ml1.net
Sat Jan 8 04:39:16 CET 2011
Happy New Year Everybody!
I see that in Modula only the required procedures are IMPORTed, like:
FROM STextIO IMPORT WriteString, WriteLn;
Conversely, in Oberon, the whole Module has to be IMPORTed in order to
get to use the equivalent procedures.
It would seem to me that Oberon "programs" would be that much more
"bloated" with unnecessary code. Am I correct in this conclusion? Is
there a way to selectively IMPORT procedures in Oberon? It doesn't
appear to me to be possible.
More information about the Oberon