Sunday, 1 March 2015

abstract data type

    In my perspective, abstract data type is a model for a certain class of data types that have similar semantics (the meaning of real-world entity being represented as is showed in the course note). It puts more emphasis on the intended meaning of the data it stores, and the operations it provides on that data instead of talking about the how to store and manipulate the data in a particular programming language.
    As what we learned in lectures in these weeks, it's obvious that it has its own advantages. One of it is that We can think about algorithms, or recipes, for solving problems more freely if we don't have to include all the details of how our objects are implemented. Moreover, details of how objects, and their components, are stored and accessed vary between programming languages, whereas a really good algorithm can be translated into any programming language. And stack is a good example which we have learned before.   

No comments:

Post a Comment