The Four Rules of Simple Design

Back to Listing

The Four Rules of Simple Design

21 Dec, 2011

When you first get involved with agile development, you quickly hear about the SOLID principals and design patterns. They are a bit much to bite off at first. Through the Ruby community I have discovered a simpler more fundamental set of guidance for beginners that appear to be fundamentals for the higher level principals of SOLID, called the Four Rules of Simple Design:

  • Pass all tests
  • Clear, expressive & consistent
  • Duplicates no behavior or configuration
  • Minimal methods, classes & modules

Here is an amazing introduction to the concept by JB Rains.

Share this story

Bobby Johnson

About Author

I am a passionate engineer with an interest in shipping quality software, building strong collaborative teams and continuous improvement of my skills, team and the product.

comments powered by Disqus
Back to top