SmartSellTM - The New Way to Sell Online

Shop over 1.5 Million Toys in our Huge New Range

Implementation Patterns


Product Description
Product Details

Table of Contents

Preface xvChapter 1: Introduction 1Tour Guide 3And Now... 4Chapter 2: Patterns 5Chapter 3: A Theory of Programming 9Values 10Principles 13Conclusion 18Chapter 4: Motivation 19Chapter 5: Class 21Class 22Simple Superclass Name 23Qualified Subclass Name 24Abstract Interface 24Interface 26Abstract Class 26Versioned Interface 27Value Object 28Specialization 31Subclass 32Implementor 34Inner Class 34Instance-Specific Behavior 36Conditional 36Delegation 38Pluggable Selector 40Anonymous Inner Class 41Library Class 41Conclusion 42Chapter 6: State 43State 44Access 45Direct Access 46Indirect Access 47Common State 47Variable State 48Extrinsic State 50Variable 50Local Variable 51Field 52Parameter 53Collecting Parameter 55Optional Parameter 56Var Args 56Parameter Object 57Constant 58Role-Suggesting Name 58Declared Type 60Initialization 61Eager Initialization 61Lazy Initialization 62Conclusion 62Chapter 7: Behavior 63Control Flow 64Main Flow 64Message 65Choosing Message 65Double Dispatch 66Decomposing (Sequencing) Message 67Reversing Message 67Inviting Message 68Explaining Message 69Exceptional Flow 70Guard Clause 70Exception 72Checked Exceptions 72Exception Propagation 73Conclusion 73Chapter 8: Methods 75Composed Method 77Intention-Revealing Name 79Method Visibility 80Method Object 82Overridden Method 83Overloaded Method 83Method Return Type 84Method Comment 85Helper Method 85Debug Print Method 86Conversion 87Conversion Method 87Conversion Constructor 88Creation 88Complete Constructor 89Factory Method 90Internal Factory 91Collection Accessor Method 91Boolean Setting Method 93Query Method 93Equality Method 94Getting Method 95Setting Method 96Safe Copy 97Conclusion 98Chapter 9: Collections 99Metaphors 100Issues 101Interfaces 103Implementations 107Collections 110Extending Collections 114Conclusion 115Chapter 10: Evolving Frameworks 117Changing Frameworks without Changing Applications 117Incompatible Upgrades 118Encouraging Compatible Change 120Conclusion 129Appendix A: Performance Measurement 131Example 131API 132Implementation 133MethodTimer 134Canceling Overhead 136Tests 136Conclusion 142Bibliography 145General Programming 145Philosophy 147Java 148Index 149

Promotional Information

Programmers make hundreds of decisions a day. Occasionally they make large-scale decisions like those covered by Design Patterns. Far more frequently they make small-scale decisions--choosing names, organizing code logically, dividing programs into coherent parts. The cumulative effect of these hour-by-hour, minute-by-minute decisions is as significant as the effect of the design decisions in making code clear, flexible, and robust. This book is a catalog of the frequent decisions programmers make and the approaches to these decisions that result in code that communicates clearly. Programmers applying Implementation Patterns achieve code that is consistent, easy to read, and easy to modify. It sets out the "bag of tricks" common to excellent programmers in Java and similar languages. Implementation Patterns will appeal to programmers wishing to improve their individual practice, teams finding a common style, and language designers looking for abstractions to add to the next generation of programming languages. The days development teams are bigger, more spread out, and frequently forced to work with legacy applications. Now more than ever clear, communicative code is essential.

About the Author

Kent Beck, one of the software industry's most creative and acclaimed leaders, consistently challenges software engineering dogma and promotes ideas like patterns, test-driven development, and Extreme Programming. Currently affiliated with Three Rivers Institute and Agitar Software, he is the author of many Addison-Wesley titles, including Test-Driven Development (2003) and, with Cynthia Andres, Extreme Programming Explained, Second Edition (2005).

Ask a Question About this Product More...
Write your question below:
Look for similar items by category
People also searched for
How Fishpond Works
Fishpond works with suppliers all over the world to bring you a huge selection of products, really great prices, and delivery included on over 25 million products that we sell. We do our best every day to make Fishpond an awesome place for customers to shop and get what they want — all at the best prices online.
Webmasters, Bloggers & Website Owners
You can earn a 5% commission by selling Implementation Patterns on your website. It's easy to get started - we will give you example code. After you're set-up, your website can earn you money while you work, play or even sleep! You should start right now!
Authors / Publishers
Are you the Author or Publisher of a book? Or the manufacturer of one of the millions of products that we sell. You can improve sales and grow your revenue by submitting additional information on this title. The better the information we have about a product, the more we will sell!
Item ships from and is sold by Fishpond World Ltd.
Back to top