{"product_id":"software-design-for-flexibility-isbn-9780262045490","title":"Software Design for Flexibility","description":"\u003cb\u003eStrategies for building large systems that can be easily adapted for new situations with only minor programming modifications.\u003c\/b\u003e\u003cbr\u003e\u003cbr\u003eTime 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.\u003cbr\u003e\u003cbr\u003eThe authors explore ways to enhance flexibility by:\u003cbr\u003e\u003cli\u003eOrganizing systems using combinators to compose mix-and-match parts, ranging from small functions to whole arithmetics, with standardized interfaces\u003c\/li\u003e\u003cli\u003e Augmenting data with independent annotation layers, such as units of measurement or provenance\u003c\/li\u003e\u003cli\u003e Combining independent pieces of partial information using unification or propagation\u003c\/li\u003e\u003cli\u003e Separating control structure from problem domain with domain models, rule systems and pattern matching, propagation, and dependency-directed backtracking\u003c\/li\u003e\u003cli\u003e Extending the programming language, using dynamically extensible evaluators\u003c\/li\u003eForeword xi\u003cbr\u003ePreface xiii\u003cbr\u003eAcknowledgments xix\u003cbr\u003e1 Flexibility in Nature and in Design 1\u003cbr\u003e2 Domain-Specific Languages 21\u003cbr\u003e3 Variations on an Arithmetic Theme 67\u003cbr\u003e4 Pattern Matching 157\u003cbr\u003e5 Evaluation 233\u003cbr\u003e6 Layering 299\u003cbr\u003e7 Propagation 327\u003cbr\u003e8 Epilogue 373\u003cbr\u003eA Appendix: Supporting Software 377\u003cbr\u003eB Appendix: Scheme 379“Most systems need to succeed over time, not merely at a point in time. A fascinating exploration of predicative dynamic dispatch, metadata, and other techniques for building flexible systems that can be enhanced without breaking.”\u003cbr\u003e\u003cb\u003e—Rich Hickey, author of \u003ci\u003eClojure\u003c\/i\u003e and architect of Datomic\u003c\/b\u003e\u003cbr\u003e \u003cbr\u003e“Hanson and Sussman’s \u003ci\u003eSoftware Design for Flexibility\u003c\/i\u003e has introduced \u003ci\u003eadditive programming\u003c\/i\u003e, a game changer. An additive style allows for making changes to existing designs without the programmer’s efforts looking like the work of a contortionist. With elegance, clarity, and care, they point out long-overlooked problems in software design and offer their Scheme-friendly, clever solutions. Enjoy!”\u003cbr\u003e\u003cb\u003e—Dan Friedman, Professor of Computer Science, University of Indiana; author of \u003ci\u003eThe Little Prover\u003c\/i\u003e\u003c\/b\u003eChris Hanson is on the technical staff at Datera. \u003cbr\u003e\u003cbr\u003eGerald Jay Sussman is Panasonic Professor of Electrical Engineering at MIT. He is the coauthor of \u003ci\u003eStructure and Interpretation of Computer Programs\u003c\/i\u003e, \u003ci\u003eStructure and Interpretation of Classical Mechanics\u003c\/i\u003e, and \u003ci\u003eFunctional Differential Equations \u003c\/i\u003e(all published by the MIT Press).","brand":"The MIT Press","offers":[{"title":"Default Title","offer_id":46301195141349,"sku":"NP9780262045490","price":55.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1842\/7735\/files\/9780262045490.jpg?v=1767736878","url":"https:\/\/k12savings.com\/es\/products\/software-design-for-flexibility-isbn-9780262045490","provider":"K12savings","version":"1.0","type":"link"}