Hacker News new | ask | show | jobs
by debo_ 768 days ago
ADT feels like an unfortunately acronym-collision with "Abstract data types."
3 comments

Yep, people that eventually buy a Modula-2 ADT book, when hunting old stuff, are in for a surprise. :)
It's a term that is commonly used in computer science education to refer to any data type independent of its concrete implementation (so, basically, its interface.) I don't think it's just restricted to Modula-2?
Indeed, however CLU and Modula-2 were the ones used mostly for practical teaching purposes, until ML became widespread enough for ADT to gain yet another meaning.
I just realised something terrible.

This code is ADTs for C.

At some point somebody's going to call it CADT and jwz will explode.

More often than not, when I say ADT to someone outside of the FP world, they assume I mean abstract data type.
Or the company that sells the security stickers, for houses.
ADT feels like an unfortunately acronym-collision with "algebraic data types."

They were both introduced in the same decade.