[MacRuby-devel] What's happened to Dispatch::Job?

Caio Chassot lists at caiochassot.com
Thu Jan 20 07:46:06 PST 2011


> platform for Mac development.  So I'm trying to wrap my head around why people would use it (Ruby) instead of C/C++/Objective C or Python for that matter. 

I guess we all have our reasons, but:

Over Obj C: succinctness + ruby std libary
Over Python: First class cocoa citizen, not a bridge


> Frankly I think I need convincing in another way so the next question is this, is there a good intro to Ruby that isn't oriented to web development?  My interest in the web is close to zero and unfortunately most Ruby books seem to be focused there.   Either that or my mind just isn't oriented to the Ruby way.  

A while ago I wrote a bunch of the exercises in Aaron Hillegass’s book “Cocoa Programming for Mac OS X” in MacRuby. Maybe seeing familiar Cocoa examples in MacRuby will help you wrap your head around it.

https://github.com/kch/macruby-programming-cocoa

I tried to be very idiomatic in my ruby usage, avoiding a bland line-by-line translation of the ObjC code.



More information about the MacRuby-devel mailing list