act:ualise | technology

24 Mar, 2009

Clean code cheat sheet

Posted by: j pimmel In: agile

I happened upon the Clean Code Cheat Sheet and thought it worthwhile to share. It draws together a number of principles which help you achieve cleaner and more habitable code.

It includes:

  • The Get It Done Adagio
    • Make it Work
    • Make it Right
    • Make it Fast
  • The Three Rules of TDD
  • SOLID Principles
    • SRP
    • OCP
    • LSP
    • ISP
    • DIP
  • Law of Demeter
    • Bad smell
    • Local methods
    • Local fields
    • Local params
    • Local objects
  • Connascences
  • Coupling
  • Cohesion
  • Common Metrics

A must read if you program and you’re not already familiar with them.

No Responses to "Clean code cheat sheet"

Comment Form

About

act:ualise | technical blog

notes, observations and obssessions on software quality, agile software development, testing and grails


part of the EnergizedWork experiment