Open xp1632 opened 3 months ago
unclean code
slowers down the development process day by day - Hard to divide and conqure
- Lack of tests before launching - Lack of documentation
- Long-term simultaneous development in several branches
createOrder()
, renderCustomerInfo()
Builder
https://refactoring.guru/pull-up-field
https://refactoring.guru/substitute-algorithm
https://refactoring.guru/smells/dead-code
https://refactoring.guru/smells/duplicate-code
https://refactoring.guru/smells/divergent-change
https://refactoring.guru/smells/inappropriate-intimacy
https://refactoring.guru/smells/speculative-generality
just in case
or future features
code
Basic definition in Refactoring
Clean Code:
all
tests