Clean Code Cheat Sheet

There is an updated version at http://www.planetgeek.ch/2014/11/18/clean-code-cheat-sheet-v-2-4/

It took me about one and a half year to update my cheat sheet about clean code and TDD.

But now, it’s here.

The cheat sheet has grown quite a bit and now contains principles, patterns, smells and guidelines for

  • clean code
  • class and package design
  • TDD – Test Driven Development
  • ATDD – Acceptance Test Driven Development
  • Continuous Integration

I had to re-layout the sheets because maintenance became a nightmare (yes, very ironic).

Download: Clean Code V2.2

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.

Feedback is highly welcome. Please write a comment below.

Clean Code Cheat Sheet Teaser

Update V 2.1: thanks for your feedback

  • added + and – for DOs and DONTs to make it easier to tell them apart
  • added a creative commons Attribution 3.0 Unported license.

Update V 2.2:

  • changed the colours to be better distinguishable

About the author

Urs Enzler

<ul class='page-numbers'> <li><a class="prev page-numbers" href="https://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet/comment-page-4/#comments"><i class="fa fa-chevron-left"></i></a></li> <li><a class='page-numbers' href='https://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet/comment-page-1/#comments'>1</a></li> <li><span class="page-numbers dots">…</span></li> <li><a class='page-numbers' href='https://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet/comment-page-3/#comments'>3</a></li> <li><a class='page-numbers' href='https://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet/comment-page-4/#comments'>4</a></li> <li><span class='page-numbers current'>5</span></li> </ul> 203 comments

  • Dear Urs Enzler

    How are you?
    This is Jiyoung Kim who lived in South Korea.
    I and my friends just found out this article a few days ago.
    We want to translate the http://www.planetgeek.ch/2014/11/18/clean-code-cheat-sheet-v-2-4/ to post our blog for Korean readers especially programers.
    I’ve seen the cc rules, but I leave a post to ask if we can translate this and post it on our blog.
    We will never use this article commercially, and will not use it for any purpose other than to use it to make good readings by Koreans.
    If you have any questions, please let me know.

  • I’m fine thanks. Feel free to translate the cheat sheet. The license only requires that you refer to me as the source. If it helps you, I can provide you with the original word document. If so, please contact me over twitter or Linked-in so we can exchange email addresses.

Recent Posts