Å·±¦ÓéÀÖ

Jump to ratings and reviews
Rate this book

Smalltalk Best Practice Patterns

Rate this book
This classic book is the definitive real-world style guide for better Smalltalk programming. This author 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 programmers, project managers, teachers and students -- both new and experienced. This book presents a set of patterns that organize all the informal experience of successful Smalltalk programmers. This book will help you understand these patterns, and empower you to write more effective code.

224 pages, Paperback

First published January 1, 1996

60 people are currently reading
1,459 people want to read

About the author

Kent Beck

27Ìýbooks685Ìýfollowers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
122 (43%)
4 stars
100 (35%)
3 stars
51 (18%)
2 stars
7 (2%)
1 star
2 (<1%)
Displaying 1 - 26 of 26 reviews
8 reviews3 followers
April 9, 2021
Obligatory read for every programmer - it provides fundamental patterns of object-oriented design, with very relevant examples, and accurate explanations. You don't need earlier experience with Smalltalk to understand code snippets from the book.
Profile Image for Marcin.
90 reviews43 followers
March 29, 2014
Another timeless classic and a great introduction to OO design in any language. SmallTalk is easy enough to read and understand. Fascinating to see how many original ideas from this book have surfaced many times over in Kent's later works.
Profile Image for Kerrick.
12 reviews
February 14, 2025
I’ve never written a line of Smalltalk. I get paid to write JavaScript and TypeScript, and I also write Ruby for fun. Even though I’ll never use Smalltalk, I wish I’d read this book within my first month of starting to program.

This book is written incredibly accessibly. As soon as you’ve read a single ‘how to program� book that covers an OO language, this should be your next book. It doesn’t matter if that language isn’t Smalltalk—heck, it probably isn’t.

This book covers so many good habits and patterns that are universal to OOP (and even some that apply to procedural and FP) that it’s worth it. Everything Beck said about naming, class design, method decomposition, and the way to think about problems applies in any modern language. Even the parts that feel specific to Smalltalk, like the chapter on Collection methods, are great. Odds are your language or standard library include a version of these methods, and you can learn tips about applying them here.

But even though I’ve been a professional developer since 2008, I learned something from this book. Double dispatch, Default Method, RunArray, and using stacks and queues for tree traversal will all level up my programming. Plus, it’s nice to have a name, situation, and solution to reference for things I’ve always explained from my gut when doing code reviews, pair programming, and mentorship.
7 reviews1 follower
August 4, 2020
This is is a great book. It is true that Smalltalk makes it harder to parse for somebody not familiar with the language and I would have a better time reading it if it used something moe familiar, but that is not a reason to rate it lower.

There are couple patterns that are clearly very smalltalk specific that you can skip over.
Profile Image for Ling Wang.
18 reviews9 followers
October 18, 2020
This 1997 book is still relevant in 2020. Not much has changed from Smalltalk to Objective-C with respect to the things talked about in the book. Even as Objective-C is being replaced with Swift, many patterns are general enough to cross languages, so modern iOS/Mac developers can still benefit from the book.
2 reviews1 follower
March 22, 2018
Still relevant for developers (a must read)

Was not the easiest read, also because I never programmed in smalltalk. But this book is full of very insightful tips to organize your code. It really made me think :)
Profile Image for Philip Lambok.
2 reviews1 follower
May 1, 2020
Interesting book, but somehow it is difficult to read the code because I never write Smalltalk before. Btw I found an interesting tool to help: .
If you didn't know Smalltalk like me but familiar to ruby, maybe that tool can help you too.
Profile Image for Dave.
40 reviews9 followers
February 25, 2020
An outstanding book of practical advice for writing readable, maintainable programs. My fear is that many will pass over this book because they think it doesn’t apply to them.
Profile Image for Sorin.
47 reviews21 followers
February 5, 2022
I quited this book, because I didn’t enjoyed reading it. Make your own decision.
Profile Image for Costin Manda.
646 reviews20 followers
September 3, 2022
I have started with a book recommended by many sites about software architecture and design as a must read: Smalltalk Best Practice Patterns by Kent Beck. It is well written and I can see why it attracted a lot of people, even if there aren't so many Smalltalk programmers out there: it is written for use! That means that the book has less than 200 pages, but each of the specific patterns there are laden with references to others in the book, some even in the next chapters. That's because the book itself is structured to be kept nearby and consulted whenever a new project is started or in progress, not something that you read and forget in a bookshelf, gathering dust.

However, the patterns presented are sometimes useless for a C# programmer, some being already integrated in language and some being not applicable. The fact that Smalltalk works with Messages further complicates things. I did eventually open a link to #-Smalltalk, but who will ever have time for it?

I have decided that rather than reading this book and forgetting or not getting many of the things inside, it would be more efficient searching for a similar book that is more C# oriented.

So, bottom line: great approach, both literary and technical, but a little hard to use for one such as me.
Profile Image for Piers.
13 reviews8 followers
August 6, 2013
Hands down the best book I know on the nitty gritty of writing object oriented code. I learned so much from this about how to take advantage of dynamic languages like Perl and Ruby as well as Smalltalk.

It's also one of the very few decent patterns books in the computing literature. A genuine pattern language rather than a ragbag of patterns with no real coherence. Up there with Alexander's "A Pattern Language"
Profile Image for Marc Johnson.
51 reviews12 followers
July 30, 2021
Very well written, with insights and anecdotes relevant to programming and software development in general, not only Smalltalk.

Lack of familiarity with Smalltalk likely meant I missed parts of, or misinterpreted some patterns. Generated thoughts on how different languages might have different considerations. And how neat and ahead of it’s time Smalltalk was.

Extending the example at the end is the only feedback I have for improvement.
Profile Image for Alpha.
449 reviews10 followers
May 7, 2012
4.5/5 - Not many people use Smalltalk, but this is a pretty great read for Ruby and Objective-C, as both languages inherit much of Smalltalk's base concepts. A lot of the patterns are obvious (some in general, some in hindsight), but it's nice to have them actually explained and put down into words.
Profile Image for Thomas.
124 reviews8 followers
December 27, 2014
This book is a good look into where some of the names and constructs in Objective-C and Ruby come from.

Some of the patterns and recommendations are strictly a result of the idiosyncrasies of Smalltalk and working within the average Smalltalk browser.

Oddly most enlightening for me were the code formatting recommendations which assumed using line wrapping in a browser.
Profile Image for Brandon Bayer.
14 reviews34 followers
March 18, 2016
I read this because it's one of DHH's top five programming books. Overall, it's full of truly great patterns (how to name a method, how to name a variable, etc), but the Smalltalk examples were a real challenge to wade through because this was my first exposure to Smalltalk. I'd definitely rate it 5 stars if the examples were in ruby or a similar "modern" language.
45 reviews2 followers
May 15, 2015
i want to look the reference about the question and the method first
the language is out of date,i have to try learn the smalltalk,but after i read smalltalk introduce,i still not understand the book code well,so i give up read it.
Profile Image for Kamil Chmielewski.
27 reviews1 follower
August 13, 2016
This is a programming book written in 1997. It has a few ideas that are sound, but those ideas have been 'coined/named' and explained with better details since then. If you are looking to up your level as a programmer I recommend Clean Code or Refactoring over this book.
Profile Image for Michael.
AuthorÌý8 books593 followers
October 1, 2011
Beck's book explains patterns for gaining fluency in language expression while the GoF book attempts gain features for underpowered languages.
Profile Image for Barry.
169 reviews3 followers
Shelved as 'to-read-technical'
February 10, 2013
DHH recommended:
This entire review has been hidden because of spoilers.
Profile Image for Charles Wood.
11 reviews99 followers
October 21, 2011
If you're looking for a guidebook on how to write Smalltalk, this isn't your book. If you want a TERRIFIC guidebook on writing good Object Oriented code, then you have to check this book out.
1 review1 follower
March 17, 2013
A highly practical book on Object Oriented patterns, despite being perhaps the most hipster of all programming books ("Oh, I'm reading about this language, you've probably never heard of it!").
Displaying 1 - 26 of 26 reviews

Can't find what you're looking for?

Get help and learn more about the design.