Prajwal Tuladhar’s Blog
 
programming, life and some random thoughts

Apr 26 2009

Four rules of simple design

Published by at 10:08 pm under Patterns,Programming

Yeah again I am quoting some interesting text from Clean Code :)

It’s about four simple rules by Kent Beck on simple design:

  • Runs all the tests
  • Contains no duplications
  • Expresses the intent of the programmers
  • Minimizes the number of classes and methods

I agree with al the three rules but the fourth one seems little difficult to follow especially if you are also following the Single Responsibility Principle. But since its is listed in the last, I assume it should be given less priority. What do you think?


3 responses so far

3 Responses to “Four rules of simple design”

  1. Anishon 26 Apr 2009 at 10:13 pm

    yeah i do agree with u… the last one is little difficult to implement for huge projects… others are applicable…

  2. Bimal Thapaon 28 Apr 2009 at 1:23 am

    Same Same :D

  3. Bimal Thapaon 28 Apr 2009 at 6:23 am

    Same Same :D

RSS Feed
Subscribe by email
Follow me @ Twitter