2010

2009

2007

2006

2005

I've been convinced...

Entry published apr 14 2007

I thought I’d never say it, but I’m starting to like test driven development. I’ve been working in Squeak as part of Ralph Johnson’s design patterns class here at the University of Illinois. After a semester of Squeak, it feels wrong not to have tests. Tests seem to fit nicely into Smalltalk and the Smalltalk culture. Building tests has been an amazing way to explore my model objects for a small Seaside webapp. I’ve put together a few different sets of classes and methods, and each time it’s been slightly wrong. I wrote the tests first, and I’ve been able to build model objects that aren’t (as) clunky.

Now I need to transfer this over to my Objective-C coding.

0 comments category: general programming
. o .

How about a browser for Objective-C?

Entry published apr 14 2007

After working with Smalltalk and switching back to Objective-C, I’m really missing the Smalltalk browser. For those of you who don’t know, the Smalltalk browser is a class browser that you do coding in. You create methods, classes, and edit existing ones in the browser. You only look at one method at a time, and it’s awesome for reading code. The only stink is that the code is trapped in the Smalltalk image. When I went back to Objective-C, I was struck by how much time I wasted doing file manipulation: creating files, moving files, finding the file I want, adding the file to my Xcode project. Why can’t I have a browser that works like the Smalltalk browser but handles the file creation, manipulation for me? Then I can worry about the code, and it can organize it into files for me.

Now if only I had the time to write such a tool….

1 comment category: general programming