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

Refactoring and stuff

Refactoring and stuff

My first talk as presented to the NYC Cocoaheads group.

Samuel Goodwin

March 09, 2012
Tweet

Other Decks in Programming

Transcript

  1. When to refactor? • When it smells • When code

    becomes too rigid • Maybe not before deadlines • Sometimes not at all ( nuke and pave! )
  2. What to aim for? • Single responsibility principle • Open/closed

    principle • Liskov Substitution principle • Interface segregation principle • Dependency inversion principle
  3. • Coding Guidelines for Cocoa • Concepts in Objective-C Programming

    • Cocoa Fundamentals Guide From the guys who brought you Cocoa: