Earlier quoted context omitted.
It's definitely possible to start with MacRuby. It just requires a little more overhead to translate Cocoa documentation into methods that work with MacRuby (not to mention the occasional one that doesn't work right...). As a Rubyist, there's definitely some differences (named parameters, for instance), but you get the hang of it pretty quick. As a Cocoa developer, debugging with MacRuby has issues, as Xcode doesn't…
With what you know, would you recommend I skip MacRuby and jump straight into obj-c/cocoa?
Ask HN: Getting into OS X/iOS development as a Rubyist: learn macruby first?
11–14 of 14 posts
Re: Ask HN: Getting into OS X/iOS development as a Rubyist: learn macruby first?
#12Earlier quoted context omitted.
Indeed. Even though I know I'll eventually transition to Objective-C, I was wondering if learning MacRuby first would tender down the learning curve by easing me into how Apple development works by leveraging my existing knowledge. What do you think?
I would just go for objective-c. MacRuby is in version 0.1 and might be more of a headache to figure out and circumvent bugs and holes then just learning objective-c. It's not a very difficult language and easy enough if you have tried C or Java before. You'll also need to handle memory (allocation and deallocation), but you could try to rely on GC, but not for iOS. Lynda.com has a video tutorial on objective-c and a…
Re: Ask HN: Getting into OS X/iOS development as a Rubyist: learn macruby first?
#13As others have mentioned, there is no MacRuby for iOS, and the MacRuby for Mac OS X is fantastic, but a lot less capable than Objective C, still.
No slam to MacRuby though, as I suspect they'll be a tier 1 Mac development platform in the next 5 years.
Re: Ask HN: Getting into OS X/iOS development as a Rubyist: learn macruby first?
#14Earlier quoted context omitted.
I would just go for objective-c. MacRuby is in version 0.1 and might be more of a headache to figure out and circumvent bugs and holes then just learning objective-c. It's not a very difficult language and easy enough if you have tried C or Java before. You'll also need to handle memory (allocation and deallocation), but you could try to rely on GC, but not for iOS. Lynda.com has a video tutorial on objective-c and a…
MacRuby was version 0.1 about 3 years ago. A lot happened since, and we expect the next release to be our 1.0 RC. For Cocoa development, it's very stable, we haven't received any critical bug report since at least 3 releases.