20 Aug
2006
20 Aug
'06
1:38 p.m.
John Meacham <john@repetae.net> writes: | I was mainly specifically comparing haskell to standard OOP classes, | | Most OOP languages certainly have some set of other features in addition, | such as forms of ad hoc polymorphism or the template meta-language of | C++, or the code reuse primitives in sather, however I was mainly | interested in exploring base OOP and its relation to haskell | typeclasses. As it seems to come up a lot. | | C++ templates are a whole nother ball of wax. I believe you should not eliminate C++ templates from "standard OO" classes -- for example, the C++ IOStream hierarchy is an example of "standard OO" -- at least if you want to discuss "OOP" with C++ :-)