
Tests are really IMPORTANT!
I recently had to go back to code that I wrote about two years ago, and I’m finding it really difficult to make changes to the code 😢...
Michael Shobowale
"Why do most developers fear to make continuous changes to their code? They are afraid they'll break it! Why are they afraid they'li break it? Because they don't have tests.” - Robert C. Martin
Oh Uncle Bob is right again! 💯
I recently had to go back to code that I wrote about two years ago, and I’m finding it really difficult to make changes to the code 😢. Obviously then, the idea of writing tests was non existent. Now I know personally that tests are very important (Except you don’t plan on making any change at all to the code).
If you’ve never written a test for your code before, please go learn how to, you’d thank yourself two years from now 😂.
Thanks for Reading!
What is technical debt?
Do you know when you decide to refactor your code the next sprint? Or when you cut corners just to get that feature out in time?..
What is Refactoring
Refactoring is the process of changing a software system in a way that does not alter the external behavior of the code yet improves its internal structure.