Encyclopedia > CLOS

  Article Content

CLOS

The Common Lisp Object System, a powerful system for object-oriented programming which forms part of Common Lisp.

CLOS differs from most other object-oriented programming environments in the following ways:

  • It offers multiple dispatch, or "multimethods".
  • Therefore, methods are not considered to live within classes; they are conceptually grouped into generic functions instead.
  • CLOS doesn't provide encapsulation; that is considered to be the job of a different part of Common Lisp, the package system.
  • Inheritance can cause methods to be combined together in arbitrarily complicated ways at the discretion of the programmer, and not merely overridden by one another.

CLOS has multiple inheritance and, unofficially, a meta-object protocol.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Kings Park, New York

... to 64, and 13.9% who are 65 years of age or older. The median age is 38 years. For every 100 females there are 94.9 males. For every 100 females age 18 and over, there ...

 
 
 
This page was created in 26.4 ms