3. the process of removing impurities or unwanted elements
from a substance
condition of being impure
its possible to start with dirty code and then clean
it. Cleaning step here is a must!
4. is software development approach in
which test cases are developed to
specify and validate what the code will
do.
+15% from last month
test cases for each functionality are created and
tested first and if the test fails then the new code
is written in order to pass the test and making
code simple and bug-free
7. Its hard to understand and hard to maintain which we call bad code
stop adding new feature and start refactoring
there is a working bad code and programmer feel like code is full of messy
8. • Refactoring can lead to undo of code from
previous refactor.
• Refactoring: make it work and then make it
right.
• Refactoring can cause crash or break features.
• When complexity increased with new cases
stop and take time to do successive
refinement.
• To avoid this we need TDD.
12. • Clean Code: A Handbook of Agile Software Craftsmanship
by Robert C. Martin, Chapter 14
• https://www.guru99.com/test-driven-development.html
• https://medium.com/@dnkilic/clean-code-chapter-14-
successive-refinement-f16d541adaa
• https://blog.jakubholy.net/2011/02/19/hidden-
dependencies-are-evil-arguing-with-the-clean-code/