Week #7: Abstract Data Types
What Is It?
An Abstract Data Type (ADT) is a way of standardizing implementations of data types between computing languages. They are defined by how the data type stores and manipulates information. In order to use an ADT certain pre-conditions must be met in order for the ADT implementation to manipulate the input. The output from a data type will always meet the post-conditions specified in the ADT. Examples of ADT's are stacks, queues, lists, etc. They may require different code in different languages to accomplish the same thing but the manner in which they run is equivalent.
Why Is It Important?
ADT's are important because they standardize how data types are implemented between computing languages. They provide a short-hand for programmers to use between programs. This was a very important idea because this was one of the first steps towards standardizing how one writes code.
No comments:
Post a Comment