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

The Joys and Pains of Working with an Old Codebase

The Joys and Pains of Working with an Old Codebase

Gordon Diggs

May 17, 2014
Tweet

More Decks by Gordon Diggs

Other Decks in Programming

Transcript

  1. "I have always found that plans are useless but planning

    is indispensable." - Dwight D. Eisenhower
  2. The Codebase Ruby 2.1 Rails 2.3 Postgres, Redis, Memcached Started

    in 2008 60 contributors ~128k lines of application code
  3. 1. Plan out the feature Have developers involved in the

    planning ! Let your unique development concerns be known
  4. 1. Plan out the feature Have developers involved in the

    planning ! Let your unique development concerns be known ! Make it a conversation
  5. 2. Do a technical kick-off What new data models do

    we need? ! What needs to be refactored? ! What might the challenges be?
  6. #  because  the  "update_attributes!"  does  not  behave  as  expected,  we

     need   this     def  update_attributes_is_broken_with_nested_attribute_validations_in_rails      ...   end  
  7. Thank you! @gordondiggs Special Thanks to: Mike Bernstein, Michael Hansen,

    Solomon Kahn, Alan Macdougall, Aaron Quint, Todd Mazierski, Justin Searls, Stephanie Shih, Alyssa Stein