Thoughts and Code (in no particular order)
In programing we're mostly just taking some input and producing some output. Wether we're talking about gestures on a screen, processing a photo with some Core Image filters, or just formatting some text. One important aspect of this and an area where we sometimes get a little lazy, is in considering the domain, or the set of *valid* inputs.
26 March 2015 — Read more
You're all familiar with the visitor pattern. One of its limitations is that it's only really useful for classes you are writing yourself. That is, unless you have a runtime that allows you to add methods to existing classes like the Objective-C runtime allows via categories.
06 May 2013 — Read more