- Paperback: 240 pages
- Publisher: Prentice Hall; 1 edition (October 13, 1996)
- Language: English
- ISBN-10: 013476904X
- ISBN-13: 978-0134769042
- Product Dimensions: 7 x 0.7 x 9 inches
- Shipping Weight: 12 ounces (View shipping rates and policies)
- Average Customer Review: 4.1 out of 5 stars See all reviews (24 customer reviews)
- Amazon Best Sellers Rank: #85,388 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Smalltalk Best Practice Patterns 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
Customers who bought this item also bought
From the Publisher
The real-world style guide for better Smalltalk programming. This book presents a set of patterns that organize all the informal experience successful Smalltalk programmers have learned the hard way. When programmers understand these patterns, they can write much more effective code. The concept of Smalltalk patterns is introduced, and the book explains why they work. Next, the book introduces proven patterns for working with methods, messages, state, collections, classes and formatting. Finally, the book walks through a development example utilizing patterns. For Smalltalk programmers, project managers, teachers and students -- both new and experienced.
From the Back Cover
This book addresses a much neglected and supremely important area to successful software development: 'low level design.' Beck's collection of patterns benefit novice and experienced programmers alike, they are absolutely fundamental to good Smalltalk programming.
Browse award-winning titles. See more
If you are a seller for this product, would you like to suggest updates through seller support?
Top Customer Reviews
Kent's book is a pleasant, readable mix of the obvious that beginners need to know and the clever that experienced Smalltalkers can still learn from. I was surprised at the absence of Booby Woolf's strategy for classifying instance variables (as identity, status or cache; see The Smalltalk Report, June 96) and at how little there was on protocol naming. Otherwise, it seems to cover almost everything at its chosen level (which complements, instead of competing with, that of books like the Smalltalk Design Patterns Companion).
I currently use C++ on UNIX in practice (wish there were more Smalltalk & Objective-C jobs out there), but I would still highly recommend this book for any OO-Practitioner: the lessons here can be applied to many different scenarios.
Take this chance to observe the beauty of PURE OO - concise code with the semantic richness and clarity reminiscent of poetry... ...alas, if only code at work were so well crafted!
This is a handbook of OO Programming. Patterns are broken into the following categories: Behavior, State, Collections, Classes, and Formatting. Each pattern is given a question/problem that the pattern answers/solves and references to other patterns are shown with page numbers.
It's definitely one of those rare books that I return to over and over again... ...a classic.
The "Execute Around Method" pattern is good idea, applicable far beyond this Smalltalk context. The Beta language has "inner" inheritance, which makes the idea easy, but most other languages lack a good mechanism for undefined logic between matched operation pairs (open/close, setup/cleanup, etc.) "Enumeration" is another good one, enshrined as "Visitor" in the Gang of Four book.
Most of what's left is either trivial or Smalltalk-specific and face it, Smalltalk is mostly a cult language with nearly no commercial significance. The Smalltalk pretty-printing and variable-naming rules, fatuous at best, are just not applicable to most langages. Some of Beck's "practices" are language features (like 'super'). Other "practices", like the long chapter on Collections, seem to describe standard library classes and messages. Yet others (e.g. Type Suggesting Parameter Name) correct language defects - Smalltalk chose to give up the error detection capability offered by variable typing. Beck tries to sneak it back in with variable naming conventions sort of like Microsoft's old Hungarian naming. Some of his suggestions are just dangerous, like that one that says a constructor should "half-way construct an object in one place, then pass it off to another to finish construction. (p.23)" This distributes an object's setup responsibility across its client classes, leaves unusable and incomplete objects floating around, and causes subtle exposures in multithreaded systems - I'd rip out any code I saw built this way.
The good news is that no new trees died to make my copy of this book - I got it used, and it's returning to the used market. At least my conscience is clean on that account, no matter what I'm doing to the poor guy who buys this book next.
Most Recent Customer Reviews
SBPP shed a new light on my previous knowledge of "patterns" in computer programming. I was deep in the DP tar pit.Read more