Good programmers write code that humans can understand
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler.
This quote very good explains the essence of clean coding. Clean code is code that is easy to understand and easy to change. Instead of only solving the problem, you should always put a bit of extra time to also focus on the design of your code, on architecture.
Refactoring simply is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure, it is the art of safely improving the existing code.
Reasons why clean code matters are a lot:
– Improve software quality, maintainability, readability.
– Increase the speed at which programmers can write and maintain their code.
– What extremely important is to have this ability to easily extend and refactor your code.
One of the most painful activities in software development is maintaining poor code! Especially when you are transitioning to Agile. If you get into the hygienic habit of refactoring continuously, you will find that it is easier to extend and maintain code.