Hi --

On Sat, 6 Jul 2002, Tobias Reif wrote:

> Returning an object of the parent or child class is not contradicting
> that relationship. If a string is a special case of an array and is
> modeled as a subclass, then an array can still return a string and vice
> versa. (or did I misunderstand you)

You did understand: I was flagging the design issue (the
backwards/circular dependency) of having the parent class "know" about
the child class.


David

-- 
David Alan Black
home: dblack / candle.superlink.net
work: blackdav / shu.edu
Web:  http://pirate.shu.edu/~blackdav