Why does clean code matter?
Surprisingly often I encounter this type of question in one form or the other.
What’s the point of clean code?
If the code has been written, and it does what it’s expected to (satisfying the business requirements), and doing this in a most efficient way (performance speaking)? So why we just can’t leave it alone?
To start with, I need to clarify what the “clean code” is.
The codebase is a reflection of reality. And so the clean code is the code that reads like business requirements. “Clean” not in the sense of being understandable by an average developer, but in the sense of being a close reflection of the business area.
That’s important because this definition is objective, vs. “understandability” which is subjective.
Strictly saying, in an ideal world, the complexity of code should be a linear function of business area complexity. Otherwise, a small change in
Continue reading →