r/AskComputerScience • u/Aokayz_ • Oct 01 '25
Are Computer Science Terminologies Poorly defined?
I'm currently studying computer science for my AS Levels, and have finally hit the concept of abstract data types.
So here's my main question: why do so many key terms get used so interchangeably?
concepts like arrays are called data types by some (like on Wikipedia) and data structures by others (like on my textbook). Abstract data types are data structures (according to my teacher) but seem to be a theoretical form of data types? At the same time, I've read Reddit/Quora posts speaking about how arrays are technically data structures and abstract data types, not to mention the different ways Youtube videos define the three terms (data structures, data types, and abstract data types)
Is it my lack of understanding or a rooted issue in the field? If not, what the heck do the above three mean?
EDIT: it seems theres a general consensus that the language about what an ADT, data type, and data structure are is mainly contextual (with some general agreeable features).
That being said, are there any good respirces where I can read much more in details about ADTs, data types, data structures, and their differences?
View all comments
Show parent comment
4
u/AlexTaradov Oct 01 '25 edited Oct 01 '25
The distinction between data type and abstract data type is mostly academic. Nobody in the industry will spend a second thinking about that.
Abstract data type is purely a concept only dealing with the apparent behavior of the type. But as soon as you need to transition from paper to wiring code, you inherently have to think about implementation details, so the abstract part goes away.
ADT is not a thing, it is a way to reason about a thing without getting into the details of implementation.
ADTs are useful because you can write a whitepaper that only describes algorithms in terms of ADTs and their behavior. And on a practical side, you can read that whitepaper and as long as your real types have the same properties as assumed for ATDs in the paper, you know it will apply to your particular language or implementation. Authors of that whitepaper don't have to think about any particular language.