What if there were simple rules that could help you create a good design as you worked and help you gain insight into the structure and design of your code?

Kent Beck came up with four rules of Simple Design while he was developing ExtremeProgramming in the late 1990s. Until now, many developers feel that these rules are of significant help in creating simple yet well-designed software, and also helps in maintaining code to be clean. According to Kent, a design is “simple” when it follows these rules, in order of the importance:

Image for post
Image for post
https://www.martinfowler.com/bliki/BeckDesignRules.html
  • Passes the tests (It Works)
  • Reveals intention
  • No…

About

Anneke Dwi

Currently working as CHIP Academy Trainer at BTPN

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store