4 Design Principles

by Kent Beck

Damien Cassou, Stéphane Ducasse and Luc Fabresse http://stephane.ducasse.free.fr

"Dady" Kent Beck

  • Extreme Programming
  • Agile Manifesto
  • Test-Driven Development

.

The 4 Design Principles

  1. Passes the tests
  2. Reveals intention
  3. No duplication
  4. Fewest elements

I. Passes the Tests

II. Reveals Intention

III. No duplication (''aka.'' D.R.Y.)

IV. Fewest Elements (''aka.'' no over-engineering)

The 4 Design Principles

  1. Passes the tests
  2. Reveals intention
  3. No duplication
  4. Fewest elements

/