did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780262045490

Software Design for Flexibility How to Avoid Programming Yourself into a Corner

by ;
  • ISBN13:

    9780262045490

  • ISBN10:

    0262045494

  • Format: Hardcover
  • Copyright: 2021-03-09
  • Publisher: The MIT Press

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

List Price: $58.67 Save up to $19.65
  • Rent Book $39.02
    Add to Cart Free Shipping Icon Free Shipping

    TERM
    PRICE
    DUE
    USUALLY SHIPS IN 3-5 BUSINESS DAYS
    *This item is part of an exclusive publisher rental program and requires an additional convenience fee. This fee will be reflected in the shopping cart.

Supplemental Materials

What is included with this book?

Summary

Strategies for building large systems that can be easily adapted for new situations with only minor programming modifications.

Time pressures encourage programmers to write code that works well for a narrow purpose, with no room to grow. But the best systems are evolvable; they can be adapted for new situations by adding code, rather than changing the existing code. The authors describe techniques they have found effective--over their combined 100-plus years of programming experience--that will help programmers avoid programming themselves into corners.

The authors explore ways to enhance flexibility by:
  • Organizing systems using combinators to compose mix-and-match parts, ranging from small functions to whole arithmetics, with standardized interfaces
  • Augmenting data with independent annotation layers, such as units of measurement or provenance
  • Combining independent pieces of partial information using unification or propagation
  • Separating control structure from problem domain with domain models, rule systems and pattern matching, propagation, and dependency-directed backtracking
  • Extending the programming language, using dynamically extensible evaluators
  • Author Biography

    Chris Hanson is on the technical staff at Datera.

    Gerald Jay Sussman is Panasonic Professor of Electrical Engineering at MIT. He is the coauthor of Structure and Interpretation of Computer Programs, Structure and Interpretation of Classical Mechanics, and Functional Differential Equations (all published by the MIT Press).

    Table of Contents

    Foreword xi
    Preface xiii
    Acknowledgments xix
    1 Flexibility in Nature and in Design 1
    2 Domain-Specific Languages 21
    3 Variations on an Arithmetic Theme 67
    4 Pattern Matching 157
    5 Evaluation 233
    6 Layering 299
    7 Propagation 327
    8 Epilogue 373
    A Appendix: Supporting Software 377
    B Appendix: Scheme 379

    Supplemental Materials

    What is included with this book?

    The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

    The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

    Rewards Program