Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sure, I could learn Objective-C but...

Kod.io
October 26, 2013

Sure, I could learn Objective-C but...

By Joshua Ballanco
http://kod.io

Kod.io

October 26, 2013
Tweet

More Decks by Kod.io

Other Decks in Programming

Transcript

  1. What is Objective-C? • Object Oriented • Message Passing •

    SmallTalk Inspired • Strict Superset of C
  2. What is Ruby? • Object Oriented • Message Passing •

    SmallTalk Inspired • Strict Superset of C RubyMotion is Ruby for iOS and OS X
  3. Learning a New Language Stage 1 I understand what you’re

    saying... but I have no idea how to reply
  4. Learning a New Language Stage 2 I know how to

    construct statements, but they are direct translations from that other language I know
  5. • Directly Translate • Apply Ruby Refactorings • Re-Open Core

    Types (Monkey-Patching) • Build Modules • Use Wrappers How to learn RubyMotion?
  6. Why should I use Objective-C • Speed • Interface directly

    with C libraries • Like long method names
  7. Why should I use RubyMotion • Development speed • Clear,

    concise business logic • Use high-level wrapper libraries
  8. Moral of the Story... Use the best tool for the

    job... and there is more than one tool!