shopping cart
Save up to 30% on our Staff Picks
Call us:  800-878-7323 HELP
McAfee SECURE helps keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams.
Contributors | November 10, 2009

Zachary Lazar: IMG Evening's Empire



Without knowing it, I'd always had two unspoken arrangements with the world. The first was that I would not trouble it with unpleasant conversation... Continue »
  1. $17.49 Sale Hardcover add to wish list

Add to Cart
$64.40
List price: $77.50
New Hardcover
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Available for In-store Pickup
in 7 to 12 days
Qty Store Section
1 Partner Warehouse Computer Languages- Java

This title in other formats:

Program Development in Java : Abstraction, Specification, and Object-oriented Design (01 Edition)

by Barbara Liskov

Program Development in Java : Abstraction, Specification, and Object-oriented Design (01 Edition) Cover
  1. This particular item is stocked in a Partner Warehouse and will ship separately from other items in your shopping cart.

Synopses & Reviews

Publisher Comments:

Written by a world-renowned expert on programming methodology, 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.

0201657686B04062001

Book News Annotation:

Liskov (engineering, Massachusetts Institute of Technology) and Guttag (computer science and engineering, also at MIT) present a component- based methodology for software program development. The book focuses on modular program construction: how to get the modules right and how to organize a program as a collection of modules. It explains the key types of abstractions, demonstrates how to develop specifications that define these abstractions, and illustrates how to implement them using numerous examples. An introduction to key Java concepts is included.
Annotation c. Book News, Inc., Portland, OR (booknews.com)

Synopsis:

Of all the books that have sought to explain object-oriented, component-based development, this one is unique in its clarity. MIT Professor Barbara Liskov presents a start-to-finish methodology for constructing reliable, understandable, easy-to-maintain Java software.<P>Developers will learn exactly how to decompose a programming problem into its key elements, and then build an optimal program from independent modules — crucial for success in large-scale, team development projects. Liskov masterfully introduces key concepts of abstraction, specification, and object-oriented design in the context of small programs; then scales the techniques up to enterprise-class development, where they work equally well. The book includes detailed coverage of developing and writing accurate specifications; optimizing tradeoffs between simplicity and performance; and making code easier to evaluate, debug, and test. In the second half of the book, Liskov focuses on modular development of large-scale programs: discovering useful abstractions, program design, analysis, implementation, testing, and the value of design patterns. All examples are based on Java (though the concepts are equally applicable to any object-based language).

About the Author

Barbara Liskov is professor of computer science at MIT. Well known for her contributions to programming methodology and software engineering, she is co-author (with John Guttag) of the influential book, Abstraction and Specification in Program Development.

0201657686AB04062001

Table of Contents

1. Introduction.

Decomposition and Abstraction.

Abstraction.

Abstraction by Parameterization.

Abstraction by Specification.

Kinds of Abstractions.

The Remainder of the Book.

Exercises.

2. Understanding Objects in Java.

Program Structure.

Packages.

Objects and Variables.

Mutability.

Method Call Semantics.

Type Checking.

Type Hierarchy.

Conversions and Overloading.

Dispatching.

Types.

Primitive Object Types.

Vectors.

Stream Input/Output.

Java Applications.

Exercises.

3. Procedural Abstraction.

The Benefits of Abstraction.

Specifications.

Specifications of Procedural Abstractions.

Implementing Procedures.

Designing Procedural Abstractions.

Summary.

Exercises.

4. Exceptions.

Specifications.

The Java Exception Mechanism.

Exception Types.

Defining Exception Types.

Throwing Exceptions.

Handling Exceptions.

Coping with Unchecked Exceptions.

Programming with Exceptions.

Reflecting and Masking.

Design Issues.

When to Use Exceptions.

Checked versus Unchecked Exceptions.

Defensive Programming.

Summary.

Exercises.

5. Data Abstraction.

Specifications for Data Abstractions.

Specification of IntSet.

The Poly Abstraction.

Using Data Abstractions.

Implementing Data Abstractions.

Implementing Data Abstractions in Java.

Implementation of IntSet.

Implementation of Poly.

Records.

Additional Methods.

Aids to Understanding Implementations.

The Abstraction Function.

The Representation Invariant.

Implementing the Abstraction Function and Rep Invariant.

Discussion.

Properties of Data Abstraction Implementations.

Benevolent Side Effects.

Exposing the Rep.

Reasoning about Data Abstractions.

Preserving the Rep Invariant.

Reasoning about Operations.

Reasoning at the Abstract Level.

Design Issues.

Mutability.

Operation Categories.

Adequacy.

Locality and Modifiability.

Summary.

Exercises.

6. Iteration Abstraction.

Iteration in Java.

Specifying Iterators.

Using Iterators.

Implementing Iterators.

Rep Invariants and Abstraction Functions for Generators.

Ordered Lists.

Design Issues.

Summary.

Exercises.

7. Type Hierarchy.

Assignment and Dispatching.

Assignment.

Dispatching.

Defining a Type Hierarchy.

Defining Hierarchies in Java.

A Simple Example.

Exception Types.

Abstract Classes.

Interfaces.

Multiple Implementations.

Lists.

Polynomials.

The Meaning of Subtypes.

The Methods Rule.

The Properties Rule.

Equality.

Discussion of Type Hierarchy.

Summary.

Exercises.

8. Polymorphic Abstractions.

Polymorphic Data Abstractions.

Using Polymorphic Data Abstractions.

Equality Revisited.

Additional Methods.

More Flexibility.

Polymorphic Procedures.

Summary.

Exercises.

9. Specifications.

Specifications and Specificand Sets.

Some Criteria for Specifications.

Restrictiveness.

Generality.

Clarity.

Why Specifications?

Summary.

Exercises.

10. Testing and Debugging.

Testing

Black-Box Testing.

Glass-Box Testing.

Testing Procedures.

Testing Iterators.

Testing Data Abstractions.

Testing Polymorphic Abstractions.

Testing a Type Hierarchy.

Unit and Integration Testing.

Tools for Testing.

Debugging.

Defensive Programming.

Summary.

Exercises.

11. Requirements Analysis.

The Software Life Cycle.

Requirements Analysis Overview.

The Stock Tracker.

Summary.

Exercises.

12. Requirements Specifications.

Data Models.

Subsets.

Relations.

Textual Information.

Requirements Specifications.

Requirements Specification for Stock Tracker.

The Data Model.

Stock Tracker Specification.

Requirements Specification for a Search Engine.

Summary.

Exercises.

13. Design.

An Overview of the Design Process.

The Design Notebook.

The Introductory Section.

The Abstraction Sections.

The Structure of Interactive Programs.

Starting the Design.

Discussion of the Method.

Continuing the Design.

The Query Abstraction.

The WorldTable Abstraction.

Finishing Up.

Interaction between FP and UI.

Module Dependency Diagrams versus Data Models.

Review and Discussion.

Inventing Helpers.

Specifying Helpers.

Continuing the Design.

The Design Notebook.

Top-Down Design.

Summary.

Exercises.

14. Between Design and Implementation.

Evaluating a Design.

Correctness and Performance.

Structure.

Ordering the Program Development Process.

Summary.

Exercises.

15. Design Patterns.

Hiding Object Creation.

Neat Hacks.

Flyweights.

Singletons.

The State Pattern.

The Bridge Pattern.

Procedures Should Be Objects Too.

Composites.

Traversing the Tree.

The Power of Indirection.

Publish/Subscribe.

Abstracting Control.

Summary.

Exercises.

Glossary.

Index. 0201657686T04062001

Product Details

ISBN:
9780201657685
Subtitle:
Abstraction, Specification, and Object-Oriented Design
Other:
Liskov, Barbara
Author:
Guttag, John
Author:
Liskov, Barbara
Author:
Liskov, B.
Author:
Liskov, B.
Publisher:
Addison-Wesley Professional
Location:
Boston
Subject:
Programming Languages - General
Subject:
Programming - General
Subject:
Design
Subject:
Object-oriented programming (computer science
Subject:
Java (Computer program language)
Subject:
Programming Languages - Java
Subject:
Object-oriented programming
Subject:
Java
Subject:
Object-oriented pro
Copyright:
Publication Date:
June 2000
Binding:
Hardcover
Grade Level:
Professional and scholarly
Language:
English
Illustrations:
Yes
Pages:
464
Dimensions:
9.51x7.54x1.28 in. 2.50 lbs.

Other books you might like

  1. $12.50 Used Hardcover add to wish list
  2. $85.50 New Hardcover add to wish list

Related Aisles

  • back to top

Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and eBooks — here at Powells.com.