9780201634600

Design by Contract: By Example

Richard Mitchell; Jim McKim

ISBN 10: 0201634600 / 0-201-63460-0
ISBN 13: 9780201634600
Publisher: Addison-Wesley
Publication Date: 2001
Binding: Softcover
Editorial Reviews:
Synopsis:

Design by contract is an underused--but powerful--aspect of the object-oriented software development environment. With roots in the Eiffel programming language, it has withstood the test of time, and found utility with other programming languages. Here, by using both the Eiffel and Java languages as guidance, Design by Contract, by Example paves the way to learning this powerful concept.

Through the following six teaching principles, the authors demonstrate how to write effective contracts and supporting guidelines. Readers will learn how to:

  1. Separate queries from commands
  2. Separate basic queries from derived queries
  3. Write a postcondition for each derived query that specifies what result can be returned
  4. Write a postcondition for each command that specifies the value of every basic query
  5. Decide on a suitable precondition for every query and command
  6. Write invariants to define unchanging properties of objects

Contracts are built of assertions, which are used to express preconditions, postconditions and invariants. Using the above principles, the authors provide a frank discussion of the benefits, as well as the potential drawbacks, of this programming concept. Insightful examples from both the Eiffel and Java programming languages are included, and the book concludes with a summary of design by contract principles and a cost-benefit analysis of their applications.

Design by Contract, by Example is the first book of its kind to offer an example-based approach to learning this important paradigm. If you are a developer seeking a way to improve your craft, this book will give you the necessary understanding of the concepts of contracts in software design.



0201634600B08142001


 

Design by Contract: By Example: Search Results

1.
Design by Contract, by Example (ISBN: 0201634600 / 0-201-63460-0)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Indoo (Avenel, NJ, U.S.A.)
Bookseller Rating: 4-star rating
Quantity Available: > 20

Book Description: Prentice Hall. Book Condition: New. New. Bookseller Inventory # 0201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 38.55
Convert Currency
Shipping: US$ 3.25
Within U.S.A.
2.
Design by Contract by Example (ISBN: 9780201634600)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Paperbackshop-US (Aurora, IL, U.S.A.)
Bookseller Rating: 5-star rating
Quantity Available: 2

Book Description: ADDISON WESLEY PUB CO INC, 2001. Paperback. Book Condition: New. New book. Shipped from US. Bookseller Inventory # IB-9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 47.24
Convert Currency
Shipping: US$ 3.99
Within U.S.A.
3.
Design by Contract, by Example (Paperback) (ISBN: 9780201634600)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: The Book Depository (Guernsey, GY, United Kingdom)
Bookseller Rating: 5-star rating
Quantity Available: 1

Book Description: Pearson Education Limited, United States, 2001. Paperback. Book Condition: New. 235 x 187 mm. Brand New Book with Free Worldwide Delivery. Design by Contract is a systematic approach to specifying and implementing object-oriented software elements based on precisely defined obligations between them. This is the first practical, example-centered guide to using Design by Contract. The authors introduce powerful design principles for writing good contracts and supporting guidelines -- and demonstrate those principles with real-world Java and Eiffel code examples. They review the fundamentals of Design by Contract -- preconditions, postconditions and invariants -- and presenting a real-world example. Next, drawing on their unparalleled experience with Design by Contract, they present six powerful design principles -- each with a clear statement of goals, rationale, examples in both Java and Eiffel, and supporting notes. Developers will learn how to strengthen their components' internal support for contracts; how to use contracts to specify subclasses whose objects can safely be substituted for superclass objects; how to extend contract to specify and check properties that remain unchanged; and how to use contracts in analysis-level models.The book concludes by summarizing key principles and presenting a realistic cost/benefit analysis of their use. Bookseller Inventory # AAC9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 51.75
Convert Currency
Shipping: US$ 0.00
From United Kingdom to U.S.A.
4.
Design by Contract by Example (ISBN: 9780201634600)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Books2Anywhere (Fairford, GLO, United Kingdom)
Bookseller Rating: 4-star rating
Quantity Available: 2

Book Description: ADDISON WESLEY PUB CO INC, 2001. Paperback. Book Condition: New. New book. Shipped from US. Bookseller Inventory # IB-9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 48.50
Convert Currency
Shipping: US$ 6.49
From United Kingdom to U.S.A.
5.
Design by Contract, by Example (ISBN: 9780201634600)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: THE SAINT BOOKSTORE (Southport, MSY, United Kingdom)
Bookseller Rating: 5-star rating
Quantity Available: 2

Book Description: Pearson Education Limited. Paperback. Book Condition: new. BRAND NEW, Design by Contract, by Example, J.C. McKim, Design by Contract is a systematic approach to specifying and implementing object-oriented software elements based on precisely defined obligations between them. This is the first practical, example-centered guide to using Design by Contract. The authors introduce powerful design principles for writing good contracts and supporting guidelines -- and demonstrate those principles with real-world Java and Eiffel code examples. They review the fundamentals of Design by Contract -- preconditions, postconditions and invariants -- and presenting a real-world example. Next, drawing on their unparalleled experience with Design by Contract, they present six powerful design principles -- each with a clear statement of goals, rationale, examples in both Java and Eiffel, and supporting notes. Developers will learn how to strengthen their components' internal support for contracts; how to use contracts to specify subclasses whose objects can safely be substituted for superclass objects; how to extend contract to specify and check properties that remain unchanged; and how to use contracts in analysis-level models. The book concludes by summarizing key principles and presenting a realistic cost/benefit analysis of their use. Bookseller Inventory # B9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 56.92
Convert Currency
Shipping: US$ 9.40
From United Kingdom to U.S.A.
6.
Design by Contract: By Example (ISBN: 9780201634600)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Palexbooks (San Diego, SD, U.S.A.)
Bookseller Rating: 5-star rating
Quantity Available: > 20

Book Description: Addison-Wesley, 2001. Book Condition: New. Brand new! We cannot ship to PO Boxes. Thanks!. Bookseller Inventory # 9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 66.96
Convert Currency
Shipping: US$ 3.00
Within U.S.A.
7.
Design by Contract by Example (ISBN: 0201634600 / 0-201-63460-0)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Stratford Books (United Kingdom, ., United Kingdom)
Bookseller Rating: 4-star rating
Quantity Available: 1

Book Description: Addison-Wesley Professional, 2001. Paperback. Book Condition: New. 9.45 by 7 inches. (00256 pages) [ships from USA takes 8-14 days to Europe] Lang=English accessory:NO ACCESSORY (Paperback ). Bookseller Inventory # AF0201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 62.61
Convert Currency
Shipping: US$ 8.96
From United Kingdom to U.S.A.
8.
Design by Contract by Example (ISBN: 0201634600 / 0-201-63460-0)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: ABC Books (Lowfield Heath, CRAWL, United Kingdom)
Bookseller Rating: 5-star rating
Quantity Available: 1

Book Description: Paperback. Book Condition: New. 181mm x 14mm x 240mm. 256 pages. 0.435. Bookseller Inventory # 9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 59.61
Convert Currency
Shipping: US$ 20.58
From United Kingdom to U.S.A.
9.
Design by Contract: By Example (ISBN: 0201634600 / 0-201-63460-0)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: Revaluation Books (Exeter, DEV, United Kingdom)
Bookseller Rating: 4-star rating
Quantity Available: 2

Book Description: Addison-Wesley, 2001. Paperback. Book Condition: Brand New. 1st edition. 256 pages. 9.00x7.25x0.75 inches. In Stock. Bookseller Inventory # x-0201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 72.14
Convert Currency
Shipping: US$ 9.50
From United Kingdom to U.S.A.
10.
Design by Contract by Example (ISBN: 0201634600 / 0-201-63460-0)
Mitchell, Richard;McKim, Jim
ISBN 10: 0201634600
ISBN 13: 9780201634600
Bookseller: AussieBookSeller (Artarmon, NSW, Australia)
Bookseller Rating: 5-star rating
Quantity Available: 1

Book Description: Paperback. Book Condition: New. 181mm x 14mm x 240mm. 256 pages. 0.435. Bookseller Inventory # 9780201634600

Bookseller & Payment Information | More Books from this Seller | Ask Bookseller a Question

Add Book to Shopping Basket
Price: US$ 76.63
Convert Currency
Shipping: US$ 28.00
From Australia to U.S.A.
View All Listings for this Book