|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> I.e., bunches of people don't know the difference between "abstract data
> type" and "abstract class". And then I think *you* told me "no, an abstract
> data type is a class without implementations, and an algebraic data type is
> what you think you're calling an abstract data type."
I don't know what "abstract class" means in other languages, but at least
in C++ it means a class that cannot be directly instantiated (the only way
to use it is to inherit from it). In other words, a bit like an interface
(but with the possibility of having member variables and function
implementations).
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |