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

Refactor Legacy Code

Refactor Legacy Code

A refactoring Kata I facilitated at the Coding Dojo Vienna

David Tanzer

January 30, 2017
Tweet

More Decks by David Tanzer

Other Decks in Technology

Transcript

  1. http://www.davidtanzer.net F o r k m e o n G

    i t H u b : https://github.com/dtanzer/babystepstimer
  2. http://www.davidtanzer.net private String getCurrentHtml() throws ... { BabystepsTimer.timerPane.getText(); } Private

    void clickOn(String link) { BabystepsTimer.timerPane .getHyperlinkListeners()[0] .hyperlinkUpdate(...); }