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

Refactoring: What, Why and When

Refactoring: What, Why and When

リファクタリングとはなんなのか、どうして必要なのか、そしていつ実行するべきなのか。
本セッションではそんなリファクタリングの基礎について紹介していきます。

Yuya Saito

June 21, 2014
Tweet

More Decks by Yuya Saito

Other Decks in Programming

Transcript

  1. Refactoring (noun): a change made to the internal structure of

    software to make it easier to understand and cheaper to modify without changing its observable behaviour.
  2. “The first time you do something, you just do it.

    The second time you do something similar, you wince at the duplication, but you do the duplicate thing anyway. The third time you do something similar, you refactor.” — Don Roberts
  3. 1/2

  4. “There is no trap so deadly as the trap you

    set for yourself.” — Philip Marlowe