Agile Glossary

Simple Design

What is Simple Design?

A team adopting the “simple design” practice bases its software design strategy on the following principles:

  • design is an ongoing activity, which includes refactoring and heuristics such as YAGNI
  • design quality is evaluated based on the rules of code simplicity
  • all design elements such as “design patterns”, plugin-based architectures, etc. are seen as having costs as well as benefits, and design costs must be justified;
  • design decisions should be deferred until the “last responsible moment”, so as to collect as much information as possible on the benefits of the chosen option before incurring its costs.

Also Known As

  • the practice is often reduced to the acronym YAGNI, for “You Aren’t Gonna Need It”; this alludes to the usual counter-argument when a programmer tries to propose a costly design element based on its future benefits only (“We’re going to need this Factory sooner or later, we might as well put it in now.” “No, you aren’t gonna need it.”)
  • another common term is “emergent design”, emphasizing that good global design can result from consistently paying attention to the local qualities of code structure (by analogy with the processes studied by complexity theorists where purely local rules reliably give rise to consistent global properties)

Common Pitfalls

  • the first (and fatal) mistake would be to downplay, for instance, while staffing a team, the importance of significant design skill among the team, on the basis that “the design will emerge”; emergence is not magic and such skills are still crucial
  • “simple design” only refers to the “software” design; it is misleading to invoke the simple design practice to justify decisions that have to do with a customer or product owner’s requirements, or usability considerations
  • the practice may be ill-advised when design practices are unlikely to be consistent, for instance, if the development group is large and geographically distributed

Signs Of Use

  • the team maintains a “backlog” of design-specific tasks:
    • design flaws requiring explicit remediation through refactoring
    • opportunities to simplify existing code
    • potential design decisions are deferred until more information comes in
  • this backlog doesn’t remain stagnant, or a mere list of complaints never addressed; the team sets aside enough of its productive time to regularly address the issues (or decide to live with them)
  • the team regularly uses one or more of the ancillary practices which offer explicit opportunities to discuss design
  • any impression that relatively straightforward functional changes require inordinate amounts of effort to implement is a “warning sign” that the practice may not be effectively used

Expected Benefits

  • mitigates the common risk of overdesign (“gold plating”)
  • has been claimed to “flatten the cost of change curve” – i.e. to keep the software easy to change, because all design decisions are agnostic to which particular changes are expected

Origins

The phrase YAGNI is associated with Extreme Programming from its earliest days.

Skill Levels

As an individual contributor:

  • Beginner: able to identify design elements that do not “pull their weight” (aren’t beneficial enough to justify their complexity) and refactor to simplify the code structure
  • Intermediate: able to defer a design decision that may be required by a future requirement, and to identify the conditions under which the decision should be arbitrated
  • Advanced: able to identify the right moment to introduce a far-reaching design decision, such as a plugins-based architecture in a desktop application

On the team level, the litmus test is whether the team is able to “share” design decisions, so that these are not based on individual decrees by the architect or lead programmer, but understood and carried out by all developers on the team.

Further Reading

  • Is Design Dead?, by Martin Fowler, remains one of the most perceptive discussions of how Agile teams approach design
Add to Bookmarks Remove Bookmark
Add to Bookmarks Remove from Bookmarks
Add to Bookmarks Remove from Bookmarks

Thank you to our Annual Partners​

Join us today!

Agile Alliance offers many online and in-person events and workshops for our members. If you’re not currently a member, you can join now to take advantage of our many members-only resources and programs.

Get the latest Agile news!

  • This field is for validation purposes and should be left unchanged.

By subscribing, you acknowledge the Agile Alliance Privacy Policy, and agree to receive our emails.

Additional Agile Glossary Terms

An acceptance test is a formal description of the behavior of a software product, generally expressed as an example or a usage scenario. A number of different notations and approaches have been proposed for such examples or scenarios.
Test-driven development (TDD) is a style of programming where coding, testing, and design are tightly interwoven. Benefits include reduction in defect rates.
The team meets regularly to reflect on the most significant events that occurred since the previous such meeting, and identify opportunities for improvement.
A product backlog is a list of the new features, changes to existing features, bug fixes, infrastructure changes or other activities that a team may deliver in order to achieve a specific outcome.
An acceptance test is a formal description of the behavior of a software product, generally expressed as an example or a usage scenario. A number of different notations and approaches have been proposed for such examples or scenarios.
Test-driven development (TDD) is a style of programming where coding, testing, and design are tightly interwoven. Benefits include reduction in defect rates.
The team meets regularly to reflect on the most significant events that occurred since the previous such meeting, and identify opportunities for improvement.

Help us keep the definitions updated

Discover the many benefits of membership

Your membership enables Agile Alliance to offer a wealth of first-rate resources, present renowned international events, support global community groups, and more — all geared toward helping Agile practitioners reach their full potential and deliver innovative, Agile solutions.

Not yet a member? Sign up now