Only the Code Tells the Truth

    With this in mind, ask yourself how clearly is your code telling you or any other programmer what it is doing?

    What can you do to actually make your code tell the truth as clearly as possible? Strive for good names. Structure your code with respect to cohesive functionality, which also eases naming. Decouple your code to achieve orthogonality. Write automated tests explaining the intended behavior and check the interfaces. Refactor mercilessly when you learn how to code a simpler, better solution. Make your code as simple as possible to read and understand.

    by Peter Sommerlad