Book 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
- Title Page
- Copyright Page
- Contents
- Preface
- Acknowledgments
- 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
Product information
- Title: Program Development in Java: Abstraction, Specification, and Object-Oriented Design
- Author(s):
- Release date: June 2000
- Publisher(s): Addison-Wesley Professional
- ISBN: None
You might also like
book
Java Program Design: Principles, Polymorphism, and Patterns
Get a grounding in polymorphism and other fundamental aspects of object-oriented program design and implementation, and …
book
Design Patterns and Best Practices in Java
Create various design patterns to master the art of solving problems using Java About This Book …
book
Object-Oriented Data Structures Using Java, 4th Edition
Object-Oriented Data Structures Using Java, Fourth Edition presents traditional data structures and object-oriented topics with an …
video
Design Patterns and SOLID Principles with Java
Write maintainable, extensible, and cloud-ready code in Java, using design patterns and SOLID principles About This …