[Newbies] How does one decide which Class to use as a model?

Ramon Leon ramon.leon at allresnet.com
Mon Aug 18 14:51:33 UTC 2008


> It has been rare in my applications to have domain models that are
> subclasses of something already in the image. Honestly can't think of
> it happening once (though I'm sure that it has).

I can only think of one time I've ever done this, my Money object subclasses
Magnitude, beyond that I've never found a reason to subclass anything but
Object or another one of my own domain objects.

Ramon Leon
http://onsmalltalk.com



More information about the Beginners mailing list