Structure and Interpretation of Computer Programs
In section 1.1.8, we noted that a procedure used as an element in creating a more complex procedure could be regarded not only as a collection of particular operations but also as a procedural abstraction. That is, the details of how the procedure was implemented could be suppressed, and the particular procedure itself could be replaced by any other procedure with the same overall behavior. In other words, we could make an abstraction that would separate the way the procedure would be used from the details of how the procedure would be implemented in terms of more primitive procedures. The analogous notion for compound data is called data abstraction. Data abstraction is a methodology that enables us to isolate how a compound data object is used from the details of how it is constructed from more primitive data objects. The basic idea of data abstraction is to structure the programs that are to use compound data objects so that they operate on ``abstract data.'' That is, our programs s
Structure and Interpretation of Computer Programs [Go to first , previous , next page ; contents ; index ] 2.1 Introduction to Data Abstraction In section 1.1.8 , we noted that a procedure used as an element in creating a more complex procedure could be regarded not only as a collection of particular operations but also as a procedural abstraction. That is, the details of how the procedure was implemented could be suppressed, and the particular procedure itself could be replaced by any other procedure with the same overall behavior. In other words, we could make an abstraction that would separ
Explore this link on the map →saved by
related reading
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- Structure and Interpretation of Computer Programsmitp-content-server.mit.edu
- how I think when I think about programming - alice mazalicemaz.com
- Up and Down the Ladder of Abstractionworrydream.com
- The Law of Leaky Abstractions – Joel on Softwarejoelonsoftware.com
- Abstraction (computer science) - Wikipediaen.wikipedia.org
- Reading 10: Abstract Data Typesweb.mit.edu
- Reading 7: Abstraction Functions & Rep Invariantsweb.mit.edu