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


* 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.

#\Erik
-- 
if you think big enough, you never have to do it