Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Refactor Legacy Code
Search
David Tanzer
January 30, 2017
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Refactor Legacy Code
A refactoring Kata I facilitated at the Coding Dojo Vienna
David Tanzer
January 30, 2017
More Decks by David Tanzer
See All by David Tanzer
Reversible Decisions for Better Software Design (VoxxedDays Zürich)
dtanzer
0
120
Grown Organically - Develop Software and Bonsai
dtanzer
0
87
Wachsen und Gedeihen: Bonsai und Software
dtanzer
0
94
Contract Testing with Pact
dtanzer
0
150
to-mock-or-not-to-mock.pdf
dtanzer
0
220
Slow Down to Move Faster (German)
dtanzer
0
170
Electron - How and Why
dtanzer
0
250
Agilität ist Unintuitiv
dtanzer
0
160
Agilität und Innovation
dtanzer
0
210
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
会社説明資料
persolserverworks
0
9.8k
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
Optunaの最新リリースv5.0について
pfn
PRO
0
120
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
Classmethod Company Deck
satoshi7
1
680
Kiro Crewをはじめよう
kizawa2020
1
160
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1k
Featured
See All Featured
Bash Introduction
62gerente
615
220k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Technical Leadership for Architectural Decision Making
baasie
3
600
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Documentation Writing (for coders)
carmenintech
77
5.6k
WENDY [Excerpt]
tessaabrams
14
40k
Practical Orchestrator
shlominoach
192
12k
Transcript
http://www.davidtanzer.net Let’s Refactor s o m e l e g
a c y c o d e !
http://www.davidtanzer.net http://socrates-conference.at
http://www.davidtanzer.net F o r k m e o n G
i t H u b : https://github.com/dtanzer/babystepstimer
http://www.davidtanzer.net Beware: v e r y b a d c
o d e !
http://www.davidtanzer.net Legacy Code ?
http://www.davidtanzer.net Legacy Code Code Without Tests Mike Feathers
http://www.davidtanzer.net Legacy Code Code that… • Is valuable • We
are afraid to change J.B. Rainsberger
http://www.davidtanzer.net Exercise...
http://www.davidtanzer.net g i t r e s e t -
- h a r d
http://www.davidtanzer.net Want more 2-Day React / Redux Training TDD /
Clean Code Training → Ask Me ;) ?
http://www.davidtanzer.net David Tanzer • Craftsperson • Player Coach • Team
Coach • Quality Obsessed @dtanzer
[email protected]
http://www.davidtanzer.net private String getCurrentHtml() throws ... { BabystepsTimer.timerPane.getText(); } Private
void clickOn(String link) { BabystepsTimer.timerPane .getHyperlinkListeners()[0] .hyperlinkUpdate(...); }