Syntactical transformations, especially those where semantic parity is retained, have never struck me as much of a barrier.

I am new to Objective C (though not to C) and have had a lot of experience in Ruby, and I am struck by how structurally similar Objective C and Ruby actually are. The semantic constructs I've developed over the years for Ruby apply quite nicely in ObjC, and I can see why there was a temptation to develop Ruby Cocoa.

Anyway, I think some of us are arguing that Cocoa is a semantic framework, while others are arguing it's a syntactic + semantic framework, and I don't really agree. As long as you're able to think about the frameworks in a purely semantic manner, (which honestly requires literacy in multiple syntaxes) then you can code in whatever language makes you happy.

That all said, getting to a point where you think about programming in mostly semantic terms takes some experience.

Dave


On Jun 7, 2008, at 8:52 AM, Hamish Allan wrote:

On Sat, Jun 7, 2008 at 8:20 AM, Allison Newman <[EMAIL PROTECTED]> wrote:

Really, once you figure out how to translate

obj = [[SomeClass alloc] initWithName: @'my name' size: 16]

to

obj = SomeClass.alloc.initWithName_size('my name', 16)

you're ready to start programming with RubyCocoa (assuming of course that you know already how to program in ruby).

Perhaps what John meant was that once you've figured out what the
translation actually means, you've basically already learned
Objective-C (if you already know C).

Hamish
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/dave%40popvox.com

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to