From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: children
Date: 1995/03/27
Date: 1995-03-27T00:00:00+00:00 [thread overview]
Message-ID: <3l6p9s$12kj@watnews1.watson.ibm.com> (raw)
In-Reply-To: 3kv64j$1fhh@info4.rus.uni-stuttgart.de
In article <3kv64j$1fhh@info4.rus.uni-stuttgart.de>,
ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) quotes Robert
Eachus as follows:
|> ea:
|> Good point. If the compiler is detecting illegitimate children, it
|> could also warn of any violation of good OO and SE principles, by that
|> child. Let's see...I'd want a warning for any direct assignments to
|> variables in the body or the private part, and any overriding of
|> dispatching operations for types declared in the parent. Anything
|> else?
What I really want is something I can't have: Detection of a child
manipulating the representation of a private type in a way that violates
the representation invariants that the parent's author had in mind (and
probably forgot to document :-) ).
--
Norman H. Cohen ncohen@watson.ibm.com
next prev parent reply other threads:[~1995-03-27 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-24 19:21 children Peter Hermann
1995-03-26 11:56 ` children Robert Dewar
1995-03-28 15:44 ` children Norman H. Cohen
1995-03-30 2:15 ` children Keith Thompson
1995-03-30 0:00 ` children Robb Nebbe
1995-03-27 0:00 ` Norman H. Cohen [this message]
1995-03-30 0:00 ` children Robert I. Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox