Hacker News new | ask | show | jobs
by marcosdumay 1265 days 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".

2 comments

We should call it an opaque data type then.
That 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.

Is a Java ArrayList considered an ADT like stack, queue, set, etc?