Bookreview: Clean Code on the rescue

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler(2008)

The 7 rules of Clean Code

“A name should tell you why it exists, what it does, and how it is used. If a name requires a comment, then the name does not reveal its intent.” — Clean Code

“You should leaving the code cleaner, than it was before editing”- Clean Code

“You should structure clean code with simple, small and clear functions, that just solve one thing”- Clean Code

“In databases, documentation and tests, the most important thing is to Do Not Repeat (DRY) yourself.”- Clean Code

“Comments are like lies. They are often forgotten and do therefore not portray the actual functionality of the code base. Only use comment if needed”- Clean Code

“In order to consider a test as clean, the test must be: fast, independent, repeatable, self-validated and timely.”- Clean Code



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store