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

Don't be "an Objective-C" or "a Swift Developer"

Don't be "an Objective-C" or "a Swift Developer"

Slides from A Swift Start (http://aswiftstart.com), given at The Flatiron School on 8/29/2014

Bryan Irace

August 29, 2014
Tweet

More Decks by Bryan Irace

Other Decks in Technology

Transcript

  1. DON'T BE "AN OBJECTIVE-C"
    or "A SWIFT DEVELOPER"
    BRYAN IRACE
    AUGUST 29, 2014

    View Slide

  2. BE A SOFTWARE DEVELOPER

    View Slide

  3. BEING A GREAT DEVELOPER
    MEANS BEING A GREAT
    PROBLEM SOLVER

    View Slide

  4. BEING A GREAT PROBLEM
    SOLVER MEANS DRAWING
    FROM VARIED EXPERIENCE

    View Slide

  5. "We need to reach that happy stage of our development when
    differences and diversity are not seen as sources of division and
    distrust, but of strength and inspiration."
    ▸ Josefa Iloilo

    View Slide

  6. var stooges = [{ name: 'curly', age: 25 },
    { name: 'moe', age: 21 },
    { name: 'larry', age: 23 }];
    var youngest = _.chain(stooges)
    .sortBy(function (stooge) {
    return stooge.age;
    })
    .map(function (stooge) {
    return stooge.name + ' is ' + stooge.age;
    })
    .first()
    .value();

    View Slide

  7. [[[stooges sortedArrayUsingDescriptors:
    @[[NSSortDescriptor sortDescriptorWithKey:@"age"
    ascending:YES]]]
    transformedArrayUsingBlock:^NSString *(NSDictionary *stooge) {
    return [NSString stringWithFormat:@"%@ is %@",
    stooge[@"name"], stooge[@"age"]];
    }] firstObject];

    View Slide

  8. YES, IT'S UGLY
    BUT THE BENEFITS ARE ALL STILL THERE

    View Slide

  9. "Header files are the only good way to
    manage code visibility"

    View Slide

  10. "Of course you should always use
    methods instead of functions"

    View Slide

  11. "Generics? Don't need 'em"

    View Slide

  12. YOUR FAVORITE
    PROGRAMMING LANGUAGE IS
    AN IMPLEMENTATION DETAIL

    View Slide

  13. View Slide

  14. WHAT I'M NOT SAYING:
    YOU'RE SCREWED IF YOU ONLY KNOW
    OBJECTIVE-C

    View Slide

  15. STRONG OPINIONS
    WEAKLY HELD

    View Slide

  16. "What would you change about
    Objective-C?"

    View Slide

  17. "One of the biggest constants in software development: the unerring
    sense among developers that the level of abstraction they're currently
    working at is exactly the right one for the task at hand."
    ▸ John Siracusa, Copland 2010 revisited

    View Slide

  18. View Slide

  19. "If I start using it now, I can provide feedback, and that feedback will
    help shape the programming language that I’m likely to use for the rest
    of my career.
    ▸ Brent Simmons

    View Slide

  20. "Maybe I’ll have a ton of feedback, and
    maybe I’ll have none — but I’d sure
    hate to have missed my chance to help."

    View Slide

  21. YOU CAN'T ASK FOR WHAT
    YOU DON'T KNOW THAT
    YOU'RE MISSING

    View Slide

  22. THANK YOU
    @IRACE

    View Slide