Friday, May 29, 2015

From "make it work, make it right, make it fast" to "rules of simplicity"

"Make it work, make it right, make it fast" is Kent Beck's formulation of a design philosophy of the "Unix Way".

You can see this in his subsequent formulation of the 4 rules of simple design:

  1. Passes all the tests ("make it work")
  2. Contains no duplication ("make it right")
  3. Expresses all the ideas you want to express (aka reveals intention) ("make it right")
  4. Has no superfluous thoughts (aka fewest elements) (aka minimises classes and methods for OO languages) ("make it right")
What's missing in the newer design guidance is the equivalent of "make it fast".

No comments:

Post a Comment