Spread knowledge in your company: Print out 1-pagers and display them at the water cooler
Navigation Menu+

Simplicity Rules (from eXtreme Programming)

Posted on Dec 22, 2014 by in Agile & Lean, Development, DevOps & SysAdmins | 0 comments

Simplicity is 1 of 5 core values in eXtreme Programming (the others being: respect, feedback, courage and communication). But what does “simple” mean exactly? Today’s 1-pager captures the rules for simple code.

Get PDF

Never miss a 1-pager – Subscribe to our free newsletter!

Content of the 1-pager:

Simplicity is one of the 5 underlying values of XP

What is the simplest thing that could possibly work?

  1. Passes all (unit) tests
  2. Expresses all ideas we need to express – Self-documenting
    · 1 idea per method / class
    · Names of variables / methods / classes reveal intent
    · Methods & classes are understandable from their public interface
  3. Has no superfluous parts
    · Minimal methods / classes / modules
    · Only add what you need right now (”You Ain’t Gonna Need It”)
  4. Duplicates no concept, behavior or
    configuration

 

Source: http://c2.com/cgi/wiki?XpSimplicityRules

 

0 Comments

Trackbacks/Pingbacks

  1. Mini Design Studio, Simplicity Rules, INVEST, Sprint Goal – 1-Pagers | Finding-Marbles - […] Simplicity is 1 of 5 core values in eXtreme Programming, but what does “simple” mean exactly? Check out rules…

Submit a Comment

Your email address will not be published. Required fields are marked *