• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Learning Cocoa with RubyCocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Learning Cocoa with RubyCocoa


  • Subject: Re: Learning Cocoa with RubyCocoa
  • From: has <email@hidden>
  • Date: Sat, 7 Jun 2008 14:16:07 +0100


Allison Newman wrote:

I can't for the life of me imagine why you would think that. I mean, I'm not theorising here, I have actually done it. My very first Cocoa app was a RubyCocoa app, and my second, a true, full- featured app, is just about done. And you know what, I never did regret my decision to not really learn Objective C.


FWIW, all my Cocoa apps are in PyObjC and that's how I started out too: I already knew Python and a bit of C, so picked up just enough ObjC to be able to read Hillegass and the Apple documentation and examples, and got stuck in. Slightly more hassle to use Cocoa from Python than ObjC since there is a degree of impedance mismatch between the two, plus you have to mentally translate Cocoa API docs to Python syntax. OTOH, Python's a quicker and easier language to work in than C (which Cocoa ameliorates but does not escape), plus you get scads of Python libraries to draw on as well. So I think it about balances out in the end.

As for Ruby and RubyCocoa, the Prags have just released a PDF beta of Brian Marick's new RubyCocoa book:

	http://pragprog.com/titles/bmrc/rubycocoa

I've not checked it out myself yet, but maybe some of the Cocoa/Ruby folks here will be interested in taking a look, whether for their own education or to provide corrections and suggestions for improvement.

And don't forget MacRuby either, an extremely promising project by Laurent Sansonetti (the Apple engineer behind Leopard's Ruby support) which aims to make Ruby a full peer to ObjC for Cocoa development. The 0.2 release has just been announced:

	http://www.ruby-forum.com/topic/155593

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Learning Cocoa with RubyCocoa (was Regular Expressions)
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: FTP framework
  • Next by thread: SOLVED: Programatically manipulating an xcdatamodel package?
  • Index(es):
    • Date
    • Thread