Fools

I am currently reading ‘Refactoring: Improving the Design of Existing Code’ by Martin Fowler and one of his tips made me smile:

Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

It made me smile because it is spot-on when it comes to clean and maintainable code. If only you, the author, understand the code, you’ve done something wrong! Use a clear coding style, meaningful method/type/variable names and document EVERYTHING.

Posted in Java.