Gregor Riegler
@gregor_riegler
tradeoffs
hurrying is not gonna get you anywhere.
getting it right will pay off.
A small change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior.
comment describes the what
comment describes the what
comment describes the what
commented out code
commented out code
unused code
unreachable code
careful! 35 changes for different reasons
continuously.
prior to change (make the change easy).
after change (clean the kitchen).
code that is unrelated to your current work
GildedRose:
https://github.com/emilybache/GildedRose-Refactoring-Kata
Tennis Refactoring Kata:
https://github.com/emilybache/Tennis-Refactoring-Kata
But what if i am not allowed to refactor or write tests?
but don't underestimate the lessons
a poor legacy code base can teach you.
and have fun coding :-)