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 @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
RT @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
RT @ursenzler: I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
RT @ursenzler: I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
On the second page, in green: “Methods Should Descend 1 Level of Abstraction” – Are you referring to the Law of Demeter here?
Awesome Clean Code cheat sheet by @ursenzler http://t.co/TUYVbC0eaf
RT @ddoomen: Awesome Clean Code cheat sheet by @ursenzler http://t.co/TUYVbC0eaf
Thanks! “@ddoomen: Awesome Clean Code cheat sheet by @ursenzler http://t.co/pDw3FmMYFZ”
RT @ursenzler: I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
Awesome #cheatsheet about #cleancode! http://t.co/7IYaeexSj5
RT @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
RT @ddoomen: Awesome Clean Code cheat sheet by @ursenzler http://t.co/TUYVbC0eaf
Clean Code Cheat Sheet | planetgeek.ch http://t.co/TPGj7il4ZR via @feedly
Pssst. Your accompanying “Clean Code” image is not so … “Clean”.
Wrinkly lines? Spell check? Really? Blurry fonts due to low-res png, really? At least make it so that the image links to the PDF so people don’t have to spend valuable time finding an actual, usable version 🙂
Nitpicking, I know :/ Anyhoops, thanks for the updated sheet!
Clean code http://t.co/MEEf0jVBnt
RT @ursenzler: I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
RT @ursenzler: I updated my Clean Code Cheat Sheet: http://t.co/pDw3FmMYFZ
Clean Code, Clean TDD, Clean ATDD
RT @ddoomen: Awesome Clean Code cheat sheet by @ursenzler http://t.co/TUYVbC0eaf
RT @ddoomen: Awesome Clean Code cheat sheet by @ursenzler http://t.co/TUYVbC0eaf
Oh oh, it’s the wrong picture. Thanks for the hint.
RT @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
Hi Urs
Thank you for your great work.
You might want to consider to update the link in this post:
http://www.planetgeek.ch/2011/01/04/clean-code-and-clean-tdd-cheat-sheets/
(It will still show up first in google search).
On another note, about the visual presentation of the cheat sheet:
For people with imperfect color vision (20% of all males) it might be a bit hard to distiniguis between the “do’s” and “dont’s”. At least it is for me 😉
How about adding a smiley like 🙂 and ;-( or an icon like a checkmark or an x, aligned left or right on the title line?
Regards,
Bruno
[…] Clean Code Cheat Sheet – Urs Enzler shares an updated and enhanced Clean Code Cheat Sheet. Available in PDF form, this 4 page cheat sheet details all the key concepts which back the Clean Code idea […]
[…] Updated: new version here! […]
Hi Bruno
Thanks for your hints.
I added a link to the old post and I’ll change the colours/do-dont-hints for an updated version.
Urs
Clean Code Cheat Sheet | planetgeek.ch http://t.co/8J7OgbjQ7a
Woohoo! 1576 visits in the first 23 hours forn my new clean code cheat sheet:
http://t.co/pDw3FmMYFZ
Clean Code cheat sheet: http://t.co/WnzbwsfQxi
RT @couac: Clean Code Cheat Sheet, a gift for @francoisz: http://t.co/dhMV7OlUv3.
RT @couac: Clean Code Cheat Sheet, a gift for @francoisz: http://t.co/dhMV7OlUv3.
My clean code cheat sheet is currently the top link on @dzone http://t.co/pDw3FmMYFZ http://t.co/vR8PXBAyIb
Great link @couac … Re-gifting for @subtlegusto’s pleasure: http://t.co/HlAAgkHhtG
Congrats “@ursenzler: My clean code cheat sheet is currently the top link on @dzone http://t.co/ZlHTNMrrC6 http://t.co/g1ZWIZ2prZ”
RT @couac: Clean Code Cheat Sheet, a gift for @francoisz: http://t.co/dhMV7OlUv3.
RT @couac: Clean Code Cheat Sheet, a gift for @francoisz: http://t.co/dhMV7OlUv3.
RT @couac: Clean Code Cheat Sheet, a gift for @francoisz: http://t.co/dhMV7OlUv3.
very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/XwXjCdlBJm
RT @filip_woj: very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/XwXjCdlBJm
RT @filip_woj: very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/XwXjCdlBJm
RT @filip_woj: very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/XwXjCdlBJm
RT @filip_woj: very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/XwXjCdlBJm
A great little clean code cheat sheet..http:/ http://t.co/rpQoljg6tA
RT @filip_woj very nice Clean Code Cheat Sheet from the @planetgeekch boys http://t.co/g3NZZSlcs9
Clean Code Cheat Sheet v2 – http://t.co/ptJM3lYHoM
RT @planetgeekch: Clean Code Cheat Sheet: updated version available! http://t.co/d4fkLD4tif
Clean Code, Clean TDD, Clean ATDD, …
As dense as crib notes for an exam but… beyond useful: @ursenzler’s Clean Code Cheat Sheet v2. http://t.co/AaxFTc9BGn
Reddit/p: Clean Code Cheat Sheet http://t.co/GP1MVzdv2J
RT @tek_news: Reddit/p: Clean Code Cheat Sheet http://t.co/GP1MVzdv2J
Clean code cheat sheet : http://t.co/oDBCLBducs