Clean Code
The most well-known book on Clean Code is called Clean Code by Robert C. Martin. Surprisingly, even Martin himself struggles to come up with a single definition for Clean Code. It seems like there are multiple definitions floating around among us developers. In fact, in his book, Martin asks several developers to provide their own “custom” definitions, and he includes all of them so that we can create our own understanding of what Clean Code means.
Clean Code is all about writing code that’s easy to understand and follows a logical and disciplined approach. The main goal is to create software efficiently and effectively while ensuring that the code is readable, adaptable, expandable, and easy to maintain.
You could argue that this definition is not objective, and you would be right! For example, “readable” is something very personal (and depends also on the seniority and the skillset of those who are approaching the code). More often...