|
|
|
|
|
by l_dopa
2193 days ago
|
|
> Classes as concept, are nothing more than extensible modules If you're talking about ML-style modules, that really can't be farther from the truth, both in theory and how they're used in practice. Modules can be used (among many other things) to implement abstract data types, which are conceptually a bit easier to compare to objects[0]. Then you'd have to go into structural vs nominal typing, functors vs generics, etc. [0]https://www.cs.utexas.edu/users/wcook/papers/OOPvsADT/CookOO... |
|