BDD in the field
I am on fire about Ruby. I always hated Objective-C’s weirdness (coming from C++), and read the most awesome idea recently – given the amazing power of modern computers (now pay attention, this is the good part): writing code in anything but the highest level, easiest language is… premature optimization!!! The instant I read that statement (sorry to the author, I can’t remember where), I knew it was true. Add that you can drop down from Ruby to lower level languages where you need extra speed, and that MacRuby and HotCoca are going to make it ridiculously easy to use Cocoa via Ruby and…
That’s it – I’m hooked. To get myself up to speed in Ruby and Cocoa, I’m re-writing the examples from Aaron Hillegass’s awesome book Cocoa Programming for Mac OS X. I’ll be writing about the intricacies of BDD in Ruby using Xcode, and I’ll be posting all the code, as well as custom file and project templates for Xcode.
Glad you are interested in MacRuby, you might want to look at http://idisk.mac.com/johnmshea-Public?view=web which is a list of Aaron Hillegass examples ported to MacRuby and some other examples written by John.
Also, if you installed MacRuby, you can see a bunch of samples in /Developer/Examples/Ruby/MacRuby
- Matt
Thanks for the pointer! I’m sooo excited about MacRuby. From what I’ve read, there’s still a ways to go before it’s ready for production, so I’m using RubyCocoa for now. I’m porting Hillegass’s examples to rubyCocoa half to learn Ruby and also to reinvent them in a BDD context (another passion)