2010

2009

2007

2006

2005

→ Stunning explanation of the credit crisis

Entry published feb 20 2009
. o .

→ IMAP rant from sup developer

Entry published feb 15 2009
. o .

Cocoa development and testing

Entry published feb 15 2009

I’m not sure why, but the Cocoa development community doesn’t seem to be into unit testing. Or perhaps, I’m misreading the community and it’s mainly Apple that doesn’t push unit testing hard enough.

It wasn’t until recently that Xcode even had unit test support, sure, you could use 3rd party frameworks, but it wasn’t built in. It’s unacceptable for testing not to be a high priority, and I’m not sure why Apple waited so long to bake it in. Even now you have to jump through hoops to get the debugger working with unit tests. From my personal experience as an intern at Apple, both teams I was on did not make significant use of automated tests while developing. Sure, there were QA teams, but unit tests weren’t present. Apple just doesn’t get unit testing (thankfully there are a few on the inside who are test infected, like Chris Hanson, who as a member of the Xcode team is probably responsibly for the unit test support in Xcode).

Xcode now has support for unit tests, and Apple did put out a guide on unit testing. So the situation is getting better, but not ideal. In comparison, the Java community really gets testing, and has a whole host of useful tools (Java does have many other problems, but at least testing isn’t one of them). Tools like test coverage analyzers and mock object frameworks. These tools should be included with Xcode by default.

Maybe the next version of the dev tools will include OCMock, and GUI support for GConv. Or has the situation gotten better and I haven’t noticed?

0 comments category: cocoa
. o .

→ New email client Postbox

Entry published feb 13 2009
. o .

New blog software, new server

Entry published feb 11 2009

Welcome to my refreshed blog!

I hadn’t noticed until recently that I haven’t updated since 2007, yikes. But, its back and here to stay. I’ve moved my VPS to Linode which is cheaper and much more powerful then my previous one. Along with the switch to the new VPS, I’ve changed from Wordpress to a custom Django application originally called CX which was developed by Jesper Noehr, one of the guys behind BitBucket. Since I don’t like PHP, I really like Python, and my previous Wordpress install was hacked; I decided to move to CX and hack it up. The code is quite nice, so it was easy to make modifications. I added support for Atom feeds, source code highlighting, and layout changes. The layout is a bit rough, but it works for now.

If you’re interested in my changes, you can take a look at the fork of CX I created CXR

1 comment category: general
. o .

→ Tips for working on a personal software project

Entry published feb 11 2009