This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Some questions about GOOPS and CLOS in general


>>>>> "Jost" == Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:

Jost> Java and other good OO implementations don't have modules at
Jost> all.  In Java and Eiffel a module /is a/ class.  And a package
Jost> is just a set of modules (module == class).

FYI, this isn't really true.  In Java the default access protection
(the protection you get if you don't specify private/protected/public)
is "package" scope.  A field (or method) with this access protection
can be referenced by other classes in that package.  So a package
really is more than a collection of classes: it has behavior (however
small) of its own.

Tom

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]