Start reading Design Patterns on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Read books on your computer or other mobile devices with our FREE Kindle Reading Apps.
Design Patterns: Elements of Reusable Object-Oriented Software
 
 

Design Patterns: Elements of Reusable Object-Oriented Software [Kindle Edition]

Erich Gamma , Richard Helm , Ralph Johnson , John Vlissides
4.6 out of 5 stars  See all reviews (51 customer reviews)

Digital List Price: £31.56 What's this?
Print List Price: £41.99
Kindle Price: £23.62 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £18.37 (44%)
Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £23.62  
Hardcover £31.49  
Paperback --  
Multimedia CD, Audiobook £32.11  


Product Description

Amazon.co.uk Review

Design Patterns is based on the idea that there are only so many design problems in computer programming. This book identifies some common program-design problems--such as adapting the interface of one object to that of another object or notifying an object of a change in another object's state--and explains the best ways (not always the obvious ways) that the authors know to solve them. The idea is that you can use the authors' sophisticated design ideas to solve problems that you often waste time solving over and over again in your own programming.

The authors have come up with some ingenious ways to solve some common vexations among object-oriented programmers. Want to build a page-layout program that embeds inline images among characters of various sizes? How about building a program that converts files of one format to another? Chances are, some programmer already has thought of a better solution than you will and the recipes you need are here. Solutions are presented in generalised diagrams of data and logic structures. The idea is that you can take the concepts presented here and adapt them--in whatever language you use--to your individual situation. You may have to read some of the chapters several times before you fully understand them, but when you find a solution in this book, it will make your job easier and your results more elegant. --Jake Bond

Product Description

Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a catalog of simple and succinct solutions to commonly occurring design problems. Previously undocumented, these 23 patterns allow designers to create more flexible, elegant, and ultimately reusable designs without having to rediscover the design solutions themselves.

The authors begin by describing what patterns are and how they can help you design object-oriented software. They then go on to systematically name, explain, evaluate, and catalog recurring designs in object-oriented systems. With Design Patterns as your guide, you will learn how these important patterns fit into the software development process, and how you can leverage them to solve your own design problems most efficiently.

Each pattern describes the circumstances in which it is applicable, when it can be applied in view of other design constraints, and the consequences and trade-offs of using the pattern within a larger design. All patterns are compiled from real systems and are based on real-world examples. Each pattern also includes code that demonstrates how it may be implemented in object-oriented programming languages like C++ or Smalltalk.


Product details


More About the Authors

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(1)

Your tags: Add your first tag
 

Customer Reviews

Most Helpful Customer Reviews
87 of 93 people found the following review helpful
Format:CD-ROM
This book is compulsory reading with no real competition.

However it's very badly written. People often mention (without complaining? ) of what a lot of hard work this book is. In fact almost all the patterns are easy to grasp, but rubbish explanations in conjunction with inconsistent use of terminology and weak examples obscures each pattern to the extent that the reader's brain soon falls out of their head.

I can't point to any one example in the book since they are all as bad as each other. But re-reading the visitor pattern finally inspired this diatribe.

I can't understand how these guys have got away with it. It's absurd. There must be an unimaginable number of people who have given up on Design Patterns due to this book, seminal or not. What a shame. The value of patterns is almost incalculable.

If only Odell & Martin or Martin Fowler would condescend to give us something readable!

Was this review helpful to you?
21 of 22 people found the following review helpful
By A Customer
Format:Hardcover
This book really changed my way of thinking about object-oriented design. The idea is that when designing a new class hierarchy, though implementation details may differ, you often find yourself using the same kinds of solutions over and over again. Rather than approaching each design task out of context as an individual, isolated problem, the strategy is to study the task and identify the underlying design pattern most likely to be applicable, and follow the class structure outlined by that pattern. It's a "cookbook" school of design that works amazingly well.

There are other advantages to this book. It isolates 23 of the most common patterns and presents them in detail. You wouldn't think that 23 patterns would be enough, but once you become adept at recognizing patterns, you'll find that a large fraction of the patterns you use in practice are among these 23. For each pattern, the book carefully presents the intent of the pattern, a motivating example, consequences of using that pattern, implementation considerations and pitfalls, sample code (C++ or Smalltalk), known uses of that pattern in real-world applications, and a list of related patterns.

Upon first reading, you will start to recognize these patterns in the frameworks you see. Upon second reading, you'll begin to see how these patterns can help you in your own designs, and may also start to see new patterns not listed in the book. Once you become familiar with the pattern concept, you will be able to originate your own patterns, which will serve you well in the future. One of the most valuable contributions of this book is that it is designed not merely to help you identify patterns, but to give you a sense of which patterns are appropriate in which contexts.

I think this book is particularly valuable to many C++ and Java programmers, because of the dynamic and flexible design philosophy it follows. (Its two fundamental principles of reusable OO design are: "Program to an interface, not an implementation" and "Favor object composition over class inheritance".) I've found that many C++ books unfortunately tend to emphasize a rather static and inflexible design philosophy. Many C++ programmers do not realize how the language and the books they've studied from have been limiting their thinking until they have been exposed to ideas from other lanugages. The authors of this book have obviously been influenced by other languages as well, especially Smalltalk, and have brought many of its best lessons to C++ design. Most Java books seem to take after the C++ books, even though Java is a more dynamic language. This book may help Java programmers take full advantage of the extra power offered by their language, if they look deeply enough into some of the lesser-known features its runtime system affords.

Last, but not least, this book is valuable because it names the patterns it uses, and so gives programmers a common vocabulary to describe design concepts, rather than particular implementations. You'll find yourself saying things like, "That would be a good use for a Decorator", or "Should we use a Facade or a Mediator in this case?" I encourage readers of this book to use this vocabulary with other programmers.

In summary, this is one of the few books that I think belongs on every programmer's "must-have" list. Not to overuse a cliche, but like object-oriented design itself, the pattern concept is one of those rare paradigm-shifts in computer programming. It is equally valuable to expert professional and novice student alike. The book has a home page at http://st-www.cs.uiuc.edu/users/patterns/DPBook/DPBook.html.

Was this review helpful to you?
4 of 4 people found the following review helpful
By KJ
Format:Hardcover
I've worked in the IT industry exclusively since 2006 when I graduated from university. This book was required reading for the Design Patterns module I elected to do. Back to 2010 and I've found myself doing more OO and re-factoring of some complex code bases. I picked up my copy and realised just how out-dated the examples are, especially for developers using Java / C#. The examples might be more relevant to C++ developers but I find the book really heavy going and quite hard to digest.

Design patterns are not difficult and books like Head First Design Patterns are better introductions to Designs Patterns than the GoF book. Unfortunately the Head First series does not cover all the patterns in the GoF and the Head First book is not designed to be a reference book. That said I remember much more of what I read when compared to this text.

Unfortunately there is no alternative that provides essential coverage of some of the most common patterns used day to day.

In short if your new to patterns and have a limited budget go for the Head First Book, while not a reference its a much gentler introduction.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
Read it, place it in your bookshelf, read it again.
Read the times needed until you understand it enough. I've read it three times in three years, and I still feel that there are several things I don't understand enough. Read more
Published 1 month ago by J. I. Seco Sanz
Perfect Toolbos
I think it's a must have for every software designer/programmer, this book help you to understand the main patterns you are going to face along the way of coding and designing, and... Read more
Published 2 months ago by Mario A. Corchero
Highly suggested
I will keep my review short and to the point.
This seminal book is a must have for any object oriented programmer that is not satisfied with code that just works. Read more
Published 11 months ago by Andreas
De facto textbook on design patterns
The book is the de facto standard text book on design patterns, it goes through all the GoF (Gang of Four) design patterns, and examples of how to implement them (unfortunately the... Read more
Published 12 months ago by Jones
design patterns
Book was in good condition, a little old however it is an old text and was a reasonable price. Some comments written into the book however this didn't really bother me that much,... Read more
Published 13 months ago by Mr. Alexander F. Baker
This book should be mandatory for all software engineer students
A design pattern is a verified and correct solution to a well known problem or situation.

This book should be mandatory for all software engineer students. Read more
Published 14 months ago by Kartones
My design bible
This book is an essential text for anyone doing OO programming. I am a games programming student and have found many of these patterns incredibly useful. Read more
Published 14 months ago by rusty_boy
Must have for a c++ software architect
Despite this book was written 1994 it is still very actual. It is mainly a review of 23 disign programming patterns, which describes a need and puropse of their implementations. Read more
Published 19 months ago by B. Kujawski
'Encapsulates' software engineering
This book is a standard on the reading lists of many Computer Science academic courses throughout the world. Read more
Published on 17 May 2010 by A. Wakeman
Essential Book
This book is essential reading for all software engineers. The only reasons not to buy it, are:- A) you already own it, B) you have knowledge of every single pattern in the book,... Read more
Published on 8 Mar 2010 by Kyris
Search Customer Reviews
Only search this product's reviews

Popular Highlights

 (What's this?)
&quote;
Creational patterns concern the process of object creation. Structural patterns deal with the composition of classes or objects. Behavioral patterns characterize the ways in which classes or objects interact and distribute responsibility. &quote;
Highlighted by 39 Kindle users
&quote;
An objects class defines how the object is implemented. The class defines the objects internal state and the implementation of its operations. In contrast, an objects type only refers to its interfacethe set of requests to which it can respond. An object can have many types, and objects of different classes can have the same type. &quote;
Highlighted by 39 Kindle users
&quote;
Class patterns deal with relationships between classes and their subclasses. These relationships are established through inheritance, so they are staticfixed at compile-time. Object patterns deal with object relationships, which can be changed at run-time and are more dynamic. &quote;
Highlighted by 37 Kindle users

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



Look for similar items by category


Look for similar items by subject


Amazon Media EU S.à r.l. GB Privacy Statement Amazon Media EU S.à r.l. GB Delivery Information Amazon Media EU S.à r.l. GB Returns & Exchanges