Presentation - Writing Maintainable Code
Traditional Advice
- DRY, remove duplication at the first sight!
Better Advice
- Wait until the last responsible moment to make an abstraction
Why?
Because Hindsight is 20x20. The sooner you guess, the less information you have
Dealing with "dynamicness"
-
Use a REPL, dynamic languages live at runtime.
-
Use tests, again runtime