26 ms·
> Using ADT to mean “abstract data type” does not mean anything more than what most people mean when they say “type”. Abstract data type is a type where you do
by marcosdumay 4y ago
> Using ADT to mean “abstract data type” does not mean anything more than what most people mean when they say “type”.
Abstract data type is a type where you don't get direct access to the information contained in it. The encapsulation is what makes it "abstract".
- cormacrelf 4y agoWe should call it an opaque data type then.
- marcosdumay 4y agoThat thing was named much before the other ADT became popular. The name is spread over a lot of past texts, and not in wide use anymore. There's no point in changing anything.
- redgrange 4y agoIs a Java ArrayList considered an ADT like stack, queue, set, etc?