Programming Principles

Programming Principles 1


  • KISS (Keep It Simple Stupid)
  • Do The Simplest Thing That Could Possibly Work
  • Keep Things DRY
  • Code For The Maintainer
  • Avoid Premature Optimization


  • Minimise Coupling
  • Law of Demeter
  • Composition Over Inheritance
  • Orthogonality


  • Maximise Cohesion
  • Liskov Substitution Principle
  • Open/Closed Principle
  • Single Responsibility Principle
  • Hide Implementation Details
  • Curly’s Law

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s