Archive for the 'Programming' Category

Add Meaning To Key Value Strings

Tuesday, May 22nd, 2007

Fraser Speirs recently tweeted some comments about strings in code: “I think that I particularly hate strings in code that have programmatic meaning. I’m looking at you, KVC. And you, KVO.” Reading this was one of those “yeah, that sucks!” moments, and it got me thinking about how the situation might be improved. The problem […]

Brent Simmons On Large Cocoa Projects

Wednesday, April 25th, 2007

Brent Simmons shares a good deal of wisdom in his post about managing a large-ish Cocoa project. In particular he’s referring to NetNewsWire, but his advice is especially pertinent to me now that I own and maintain a rather substantial number of source files that were designed and authored by Brent (MarsEdit, for anybody late […]

Cheap Yet Laudable Extravagance

Saturday, April 14th, 2007

Today I would like to call out Google, and applaud them for continuing to support a wide variety of projects through their innovative Summer of Code micro-funding program. This will be the third summer Google has offered a $4500 stipend to students willing to work “for free” over a summer on one of more than […]

Abusing Objective C With Class

Thursday, April 12th, 2007

Dynamic messaging is one of the nifty features of Cocoa and Objective-C programming on the Mac. You don’t have to know which class, or even which method your code will call until runtime. The feature is utilized a great deal by the delegation pattern employed by most standard classes in AppKit. For instance, when a […]