DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(goops.info.gz) Defining New Classes

Info Catalog (goops.info.gz) Introductory Remarks (goops.info.gz) Reference Manual (goops.info.gz) Creating Instances
 
 Defining New Classes
 ====================
 
 [ *fixme* Somewhere in this manual there needs to be an introductory
 discussion about GOOPS classes, generic functions and methods, covering
 
    * how classes encapsulate related items of data in "slots"
 
    * why it is that, unlike in C++ and Java, a class does not
      encapsulate the methods that act upon the class (at least not in
      the C++/Java sense)
 
    * how generic functions provide a more general solution that
      provides for dispatch on all argument types, and avoids
      idiosyncracies like C++'s friend classes
 
    * how encapsulation in the sense of data- and code-hiding, or of
      distinguishing interface from implementation, is treated in Guile
      as an orthogonal concept to object orientation, and is the
      responsibility of the module system.
 
 functions and methods:: - perhaps the best solution would be to expand
 the discussion there. ]
 

Menu

 
* Basic Class Definition
* Class Options
* Slot Options
* Class Definition Internals
* Customizing Class Definition
* STKlos Compatibility
 
Info Catalog (goops.info.gz) Introductory Remarks (goops.info.gz) Reference Manual (goops.info.gz) Creating Instances
automatically generated byinfo2html