archive: 2015

Singleton variations

I end up using a Singleton pattern from time to time, however in Pharo there are several variations commonly used; each with some subtle differences that may confuse a programmer not familiar with the

Conditional Halting in Pharo

One of great ways you can explore the guts of a program is to simply run it, poke around and observe results, both from the outside (you are clicking around GUI and observing the external state), and

Transforming Deprecated Code with RewriteTool

Deprecating code is quite common practice. You want to move forward, fix bad code and improve your API. However this can easily become daunting task, because there may be a lot of code to change, or y