In a followup to yesterday's post, let's revisit the concept of making an object "do too much". To rephrase this, doing too much means an object has too many responsibilities. How many is too many? Some would say more than one (1) responsibility is too many. I tend to agree...

Today I decided that I had enough of the weird looking if statements I found that didn't quite "feel right" in the MagicalRecord codebase. Here's an example of what I mean: + (void) handleErrors:(NSError *)error { if (error) { /// do some error handling here } } Now, when this...