There is an updated version at https://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
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
Feedback is highly welcome. Please write a comment below.
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
RT @richardjh_org: You writing code? You should have this handy http://t.co/SRbL9N4W9C . Thanks @ursenzler
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
RT @jwgrenning: RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/cNHTYxbAHx . Thanks @ursenz…
Clean Code Cheat Sheet | planetgeek.ch http://t.co/IBaRZBwROv
[…] Clean Code Cheat Sheet | planetgeek.ch – […]
A great idea!! perhaps still in beta, is still quite confusing visual design, multiple sheet, Perhaps it should be runnable with some bubbles to click on, a nested tree, whatever to simplify it will make it better, go ahead, thanks!
RT @rhwy: amazing work! RT @pierremartin: Clean Code Cheat Sheet | planetgeek.ch http://t.co/UtwFFoOPz2
Thanks @ursenzler for your clean code cheat sheet http://t.co/qfLxV3MWiW
Clean Code Cheat Sheet: http://t.co/zZ7BJEw1Zr Well done.
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
Clean Code Cheat Sheet | planetgeek.ch http://t.co/pgggT8jEc1
Clean Code Cheat Sheet http://t.co/ESaup0TLTu via @planetgeekch / great #software reference
RT @BrainsLink: Clean Code Cheat Sheet http://t.co/ESaup0TLTu via @planetgeekch / great #software reference
50’000 visits on the clean code cheat sheet http://t.co/pDw3FmMYFZ
Uploaded an update to the clean code cheat sheet with better coloring for people with color blindness: http://t.co/pDw3FmMYFZ #cleancode
RT @ursenzler: Uploaded an update to the clean code cheat sheet with better coloring for people with color blindness: http://t.co/pDw3FmMYF…
RT @rhwy: amazing work! RT @pierremartin: Clean Code Cheat Sheet | planetgeek.ch http://t.co/UtwFFoOPz2
RT @rhwy: amazing work! RT @pierremartin: Clean Code Cheat Sheet | planetgeek.ch http://t.co/UtwFFoOPz2
RT @ursenzler: 50’000 visits on the clean code cheat sheet http://t.co/pDw3FmMYFZ
Clean Code Cheat Sheet http://t.co/RhBj2IVbCm
RT @ronnylt: The Clean Code Cheat Sheet – http://t.co/DoBt9Y3Hsx
La última línea de este post me ha hecho reír mucho http://t.co/Y6h1CSIXTt
RT @byFcz: Clean Code Cheat Sheet http://t.co/RhBj2IVbCm
CleanCode Cheat Sheet http://t.co/n7FSLdDPyN
byebye custom coding conventions : (clean code cheat sheet) http://t.co/ujhMBTMH4g
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
“Viscosity of Design: Taking a shortcut and introducing technical debt requires less effort than doing it right.” http://t.co/guv4YnUyRL
RT @JuanjoFuchs: “Viscosity of Design: Taking a shortcut and introducing technical debt requires less effort than doing it right.” http://t…
Clean Code Cheat Sheet. Thanks for sharing @juanjofuchs http://t.co/CPuMFE6MaO
RT @JuanjoFuchs: “Viscosity of Design: Taking a shortcut and introducing technical debt requires less effort than doing it right.” http://t…
RT @unclebobmartin: RT @richardjh_org: You writing code? You should have this handy http://t.co/S9DWOHaiET . Thanks @ursenzler
Clean Code Cheat Sheet http://t.co/RDfF9LT5pe
developer rules to live by: http://t.co/2iJ7k9lpSr
RT @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
is the source document file available for download as well? I would like to contribute as I’m currently running through Clean Code now. 😉
Yes! This is quite a list and looks pretty complete. However it would be nice to have a printer-friendly version.
Other than that: Super awesome! Keep up the good work guys!
What do you exactly mean by “printer-friendly”? Do you have a problem with the colours or the format?
[…] and create unit tests allowing us to confidently start making changes. Following principles such as clean code and Software Craftsmanship are guiding us in this journey to deliver better quality […]
Just Awesome
Great
[…] After the last project closed up, I found a handy, four-page coding cheat sheet: Clean-Code-V2.2 (originally posted at http://www.planetgeek.ch/2013/06/05/clean-code-cheat-sheet). […]
Everything is very open with a clear explanation of the
challenges. It was really informative. Your site is very useful.
Thank you for sharing!
[…] Most software defects are introduced when changing existing code. The reason behind this is that the developer changing the code cannot fully grasp the effects of the changes made. Clean code minimises the risk of introducing defects by making the code as easy to understand as possible. [Source] […]
[…] Clean Code Cheat Sheet – The cheat sheet has grown quite a bit and now contains principles, patterns, smells and guidelines for […]
[…] Enzler from planetgeek.ch produced a nice Clean Code Cheat Sheet – it’s worth a […]
I wrote a little on my blog about this – How many lines belong in a class?
http://paytonrules.com/software-development/2014/11/22/how-big-should-a-class-be.html