|
|
|
|
|
by phpnode
4323 days ago
|
|
Good job for shipping, however this project and others like it (e.g. RubyMotion) set off alarm bells for me personally. I think the same arguments that people have against CoffeeScript apply here - it's not possible to use CoffeeScript without knowing JavaScript, and in this case it's not possible to use JavaScript without understanding the Objective-C ecosystem. At this point, this is Objective-C with a different syntax, it's not really JavaScript. Existing documentation, blog posts, stackoverflow answers etc use Objective-C, so the programmer will have to do a lot of translation in their heads. If I have to learn all the Objective-C / Cocoa APIs anyway, what am I gaining by using a different syntax? |
|
With RubyMotion, you gain the ability to work from the command line.
Cupertino (https://github.com/nomad/cupertino) gives you a chunk of that for pure Objective C, but with RubyMotion, I can build an app and deploy it to my iPhone without having to touch Xcode.[1]
Thats a big bonus in my book. I've got a great toolchain on the command line, and don't much care to have to change nearly every aspect of my working environment because Apple wants everybody to use their all-singing, all-dancing tool.
Being able to reuse a bunch of business logic across mobile and web is also a plus.
[1] If anybody wants to share resources on doing this in pure ObjC, I'm very interested.