On Fri, 16 Apr 2004, Barry Fawthrop wrote:
> Hi There
> 10 years back I was using Modula-2 (back when Windows 3.11 was just
coming
> out)
> I ran across the gentoo listing of development apps and found
> pm3 Modula-3.
> Thus my question
> What are the differences between Modula-2 and Modula-3?
Modula-3 has some additional features: Exceptions, Objects, Garbage
collection, Template modules, Partial hiding of type information.
Modula-3 makes something different: It uses structural equivalence, that
is, if two records contain the same fields with the same names they are
equivalent. Thus you can't define two distinguishable record types simply
by defining one twice.


|