To-dos in Smalltalk code (nice solution or quick’n’dirty?)

This week I started reviving my stiff Smalltalk skills. What better way than to use a tutorial that just throws you in on a big project? Stephan B Wessels wrote such a tutorial. You won’t want to do it, if you’d never programmed with Smalltalk as it doesn’t explain you how the language works and what standard classes there are, which messages they understand etc. But if you know that already, you’ll be thrown in into an excellent tutorial showing you how to use Squeak and how to design greater projects, using all the important tools Squeak offers.

Now while going through this tutorial I encountered something that caught my attention – an approach to manage your to-dos – not by commenting but by enhancing the Object class. For someone that is used to code in Java this per se sounds like a funny approach. As I worked with Smalltalk already it wasn’t really the fact, that you edit the Object class but rather the editing you did.

Continue reading