On Tue, 5 Oct 1999, George Russell wrote:
> Perhaps I'm being stupid.  (It certainly wouldn't be the first time!)
> But what does OO give me that I can't get with existential types
> (in datatype definitions) and multiparameter type classes? The latter
> seem to me much more powerful, since I can add dancing and singing methods
> to objects without having to go back to the original class definition.

Encapsulation of state.

-Alex-

___________________________________________________________________
S. Alexander Jacobson                   Shop.Com
1-212-697-0184 voice                    The Easiest Way To Shop




Reply via email to