note taking from online video course:
https://www.safaribooksonline.com/library/view/refactoring-in-python
why we should refactor our code?
- improve readability
- reduce time to find bugs
to make life easier.
technical debt
: design problem in code, which is borrowed against future.
rush the code –> quality down
return on investment
: how to determine when is enough for refactoring.
be practical.