Description
Written by a world-renowned expert on programming methodology, and the winner of the 2008 Turing Award, this book shows how to build production-quality programs--programs that are reliable, easy to maintain, and quick to modify. Its emphasis is on modular program construction: how to get the modules right and how to organize a program as a collection of modules. The book presents a methodology effective for either an individual programmer, who may be writing a small program or a single module in a larger one; or a software engineer, who may be part of a team developing a complex program comprised of many modules. Both audiences will acquire a solid foundation for object-oriented program design and component-based software development from this methodology.
Because each module in a program corresponds to an abstraction, such as a collection of documents or a routine to search the collection for documents of interest, the book first explains the kinds of abstractions most useful to programmers: procedures; iteration abstractions; and, most critically, data abstractions. Indeed, the author treats data abstraction as the central paradigm in object-oriented program design and implementation. The author also shows, with numerous examples, how to develop informal specifications that define these abstractions--specifications that describe what the modules do--and then discusses how to implement the modules so that they do what they are supposed to do with acceptable performance.
Other topics discussed include:
- Encapsulation and the need for an implementation to provide the behavior defined by the specification
- Tradeoffs between simplicity and performance
- Techniques to help readers of code understand and reason about it, focusing on such properties as rep invariants and abstraction functions
- Type hierarchy and its use in defining families of related data abstractions
- Debugging, testing, and requirements analysis
- Program design as a top-down, iterative process, and design patterns
The Java programming language is used for the book's examples. However, the techniques presented are language independent, and an introduction to key Java concepts is included for programmers who may not be familiar with the language.
Table of Contents
1. Introduction.
2. Understanding Objects in Java.
3. Procedural Abstraction.
4. Exceptions.
5. Data Abstraction.
6. Iteration Abstraction.
7. Type Hierarchy.
8. Polymorphic Abstractions.
9. Specifications.
10. Testing and Debugging.
11. Requirements Analysis.
12. Requirements Specifications.
13. Design.
14. Between Design and Implementation.
15. Design Patterns.
Glossary.
Index. 0201657686T04062001
This textbook is also sold in the various packages listed below. Before purchasing one of these packages, speak with your professor about which one will help you be successful in your course.
Package ISBN-13: 9780321267252
$96.31 | Add to Cart
This package contains:
- Program Development in Java: Abstraction, Specification, and Object-Oriented Design
Barbara Liskov, John Guttag | ©2001 | Cloth; 464 pages - Building Parsers With Java™
Steven John Metsker | ©2001 | Paper; 400 pages
Package ISBN-13: 9780321167866
$158.85 | Add to Cart
This package contains:
- Program Development in Java: Abstraction, Specification, and Object-Oriented Design
Barbara Liskov, John Guttag | ©2001 | Cloth; 464 pages - Effective Java™ Programming Language Guide
Joshua Bloch | ©2001 | Paper; 272 pages - Design Patterns: Elements of Reusable Object-Oriented Software
Erich Gamma, Richard Helm, Ralph Johnson, John M. Vlissides | ©1995 | Cloth; 416 pages