|
|
Whistle Stopper - Head First Design Patterns (Head First)

|
List Price: $44.95
Our Price: $23.30
Your Save: $ 21.65 ( 48% )
Availability: Usually ships in 24 hours
Manufacturer: O'Reilly Media, Inc.
|
Average Customer Rating:     

|
|
Binding: Paperback Dewey Decimal Number: 005.1 EAN: 9780596007126 Format: Illustrated ISBN: 0596007124 Label: O'Reilly Media, Inc. Manufacturer: O'Reilly Media, Inc. Number Of Items: 1 Number Of Pages: 676 Publication Date: 2004-10-25 Publisher: O'Reilly Media, Inc. Studio: O'Reilly Media, Inc.
|
|
|
|
|
|
Spotlight customer reviews:
|
Customer Rating:      Summary: Very good book on patterns but examples leave questions Comment: This is an excellent introductory book on patterns. They start out with the assumption that the reader does not really know what design patterns are or what they are good for. Developers who have been around awhile know about patterns, but overall I think their assumption is not a bad one: I think many of us have some ideas about patterns, and think we know some patterns, but don't really understand them. The book shines in its presentation of the patterns, even the ones we already "know," as extrapolations of basic OO design principles. The authors deserve very high marks for that.
They also have a lot of quirky, fun stuff in the book. It is, as another reviewer mentioned, almost insufferably cute. It's for the geek like me who wants to pretend we're not geeks, wink wink. Actually, I don't have any trouble with the humor, especially because sometimes it serves the valuable didactic purpose of helping one remember the points.
The negative points I have about the book are not primarily that the examples are simple; my main gripe is that the examples sometimes made things more confusing than they were before. For example, they spend an excellent first chapter discussing basic OO principles like "Favor Composition over Inheritance" and show how the Strategy pattern embodies them, and show a truly awful design in chapter 2 for Starbuzz Coffee (haha!) neglecting those principles, with a resulting explosion of classes. Very well.
But then, in chapter 4, they demonstrate the Factory pattern by eschewing composition in favor of inheritance, and creating an explosion of classes with all the varieties of pizza styles. Huh? Why are we suddenly dropping the principles that we've spent so much time on? Why not use composition with dependency injection as done in the "SimplePizzaFactory" example? Why not have a Pizza class that favors composition over inheritance? Now, there may in fact be good reasons, but they never discuss them. We're left wondering what's going on.
One more example: in discussing the Decorator pattern, they give what seems to me to be one of the worst uses of that pattern imaginable. "Condiments" are not "Beverages", and having a Beverage that chains to other Beverages seems very non-intuitive. Not at all a good example of "IS-A" relationships. Again, it's an illustration of the pattern, but a very jarring one that breaks reading continuity.
So, buy the book, read the book, "get" the patterns; but when you think some of the examples don't make sense, you're not alone.
Customer Rating:      Summary: Great book Comment: This is a great book, very explicit, great examples, clear language and I couldn't stop reading. Very good.
Customer Rating:      Summary: Head First is good for your brain. Comment: I love this book. It is my first Head First book and I intend to buy more. It is really a fun way to learn. Though the book deals with some advanced topics, the way the material is presented makes it easier to get into your brain.
My suggestion is to pick up one of these books in a book store, skim through it to get the idea of where they're coming from, then buy the book from Amazon. (It's cheaper.)
They use a lot of graphic characters, conversations amongst characters, crossword puzzles, etc. It's not just a text book but a way to learn new technical material. They take a potentially dry subject and make it tasty and exciting.
I hope to see more Head First books in the future.
Customer Rating:      Summary: Finally! Comment: Finally, a book that explains the basic design patterns, in Java, in a way that makes sense.
Customer Rating:      Summary: Amazing and fun book Comment: The promise they make on the preface of the book is true. The knowledge really sticks to your brain, part due to the examples and part due to the language the authors use along the text. Just one thing to record, the authors were too humble declaring it can't be considered a reference guide, yes it is, although fun, the book is an excelent reference guide.
|
|
|
Editorial Reviews:
|
You're not alone. At any given moment, somewhere in the world someone struggles with the same software design problems you have. You know you don't want to reinvent the wheel (or worse, a flat tire), so you look to Design Patterns--the lessons learned by those who've faced the same problems. With Design Patterns, you get to take advantage of the best practices and experience of others, so that you can spend your time on...something else. Something more challenging. Something more complex. Something more fun. You want to learn about the patterns that matter--why to use them, when to use them, how to use them (and when NOT to use them). But you don't just want to see how patterns look in a book, you want to know how they look "in the wild". In their native environment. In other words, in real world applications. You also want to learn how patterns are used in the Java API, and how to exploit Java's built-in pattern support in your own code. You want to learn the real OO design principles and why everything your boss told you about inheritance might be wrong (and what to do instead). You want to learn how those principles will help the next time you're up a creek without a design pattern. Most importantly, you want to learn the "secret language" of Design Patterns so that you can hold your own with your co-worker (and impress cocktail party guests) when he casually mentions his stunningly clever use of Command, Facade, Proxy, and Factory in between sips of a martini. You'll easily counter with your deep understanding of why Singleton isn't as simple as it sounds, how the Factory is so often misunderstood, or on the real relationship between Decorator, Facade and Adapter. With Head First Design Patterns, you'll avoid the embarrassment of thinking Decorator is something from the "Trading Spaces" show. Best of all, in a way that won't put you to sleep! We think your time is too important (and too short) to spend it struggling with academic texts. If you've read a Head First book, you know what to expect--a visually rich format designed for the way your brain works. Using the latest research in neurobiology, cognitive science, and learning theory, Head First Design Patterns will load patterns into your brain in a way that sticks. In a way that lets you put them to work immediately. In a way that makes you better at solving software design problems, and better at speaking the language of patterns with others on your team.
|
|
|
|
|
|
|
|