Subject: Re: CLOS and information hiding
From: Erik Naggum <>
Date: 1997/03/04
Newsgroups: comp.lang.lisp
Message-ID: <>

* Mike McDonald
| One of the things that always annoyed me about C++ class declarations was
| the requirement to include all of the private data and member functions
| in the public interface spec.  (Yes, I understand why it's there.)  It
| just seems wrong to be publicly advertising your private parts.

this has annoyed Bjarne Stroustrup, as well.  see his book The Design and
Evolution of C++.  consider that published interfaces can be inherited, but
private parts cannot.  it would make sense to inherit from a class that had
the published interface into a class with the private parts necessary to
implement it.  few do this, however.

if you think big enough, you never have to do it