• Solutions
    • I Can Help
      • Define
      • Educate
      • Integrate
      • Advise
    • Consultation
      • Assessments
      • Design Reviews
      • Code Inspections
      • Ongoing Support
    • Training Classes
      • Training Schedule
      • On-Site Classes
      • Online Training
      • Customized Coaching and Mob Facilitation
    • Learning Roadmap
      • Developer Essentials Training
        • Agile Analysis and Design Patterns
        • Hands-On: Extreme Programming Practices
      • Scrum Framework Developer Essentials
      • Design Pattern Developer Essentials
      • Object-Oriented Analysis and Design Patterns
      • Scrum Software Developer Essentials
      • Agile Software Developer Essentials
      • Agile Software Developer Intensives
    • Speaking
      • Beyond the Legacy Code Crisis
      • Five Developer Practices for Agile Software
      • Writing High Quality, CLEAN Code
      • Essential Scrum Developer Practices
      • Improving Your Scrum Process
      • The Agile Development Advantage
    • Testimonials
    • Clients
  • Resources
    • Blog
    • My Book: Beyond Legacy Code
    • Bibliography
    • Referral Program
    • Associates
  • Contact
    • Contact Me
    • Schedule A Call
    • About
  • Schedule A Call

Who Needs Architecture and Design?

  1. Home
  2. Blog
  3. Who Needs Architecture and Design?
Register Now
Or schedule a private class
Course Descriptions
  • Developer Essentials Training
    • Agile Analysis and Design Patterns
    • Hands-On: Extreme Programming Practices
  • Object-Oriented Analysis and Design Patterns
  • Scrum Software Developer Essentials
  • Agile Software Developer Essentials
  • Agile Software Developer Intensives
Follow me on Twitter:

Follow @ToBeAgile

Blog Post Categories
  • Announcements {19}
  • Articles {2}
  • Bits and Pieces {74}
  • Blogosphere {1}
  • Bonuses {2}
  • Build in Small Batches {27}
  • Collaborate {38}
  • Create CLEAN Code {34}
  • Implement the Design Last {11}
  • Integrate Continuously {30}
  • Off-Topic but Interesting {3}
  • Rants {82}
  • Refactor Legacy Code {24}
  • Say What, Why, and for Whom Before How {22}
  • Seven Strategies {38}
  • Specify Behaviors with Tests {17}
  • Write the Test First {27}
Archives
  • 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • 2022
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • 2021
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • 2020
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • 2019
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • 2018
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • 2017
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • 2016
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • 2015
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • 2014
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • 2013
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • 2012
  • December 2012
  • Privacy Policy

    (c) 2025 To Be Agile

    • January 1, 2009 ( 1 comments )
    • Rants

    I’ve heard people say that you don’t need to do much architecture and design on Agile projects. In my experience this is not true. Because of the high degree of change, Agile projects require that attention is paid to architecture and design throughout development.

    But the way we do architecture and design in agility does have some key differences to the way it is done in a waterfall approach. In waterfall we assume that we have all the requirements for a project up front and we can optimize our designs for those requirements. This is usually a false assumption and gets us into trouble when we realize that we left out a critical requirement that the current design does not handle.

    Even if upfront architecture and design is able to handle all the features of the first release in a project we often find the need for a major redesign to build the next release of the product because the current design is not able to handle the features of the next version.

    If we acknowledge that successful software will inevitably need to change, then somehow our designs must be flexible so that our code is easy to change. But how do we do that?

    Instead of focusing a lot of effort up front on architecture and design, Agile practices say to approach these issues as minimalists looking for the simplest design that will not get us into trouble later. It turns out that we can defer design decisions for many things until we have to build them. The benefit is that we’ll know more later on and probably make better decisions.

    So it is a good idea to put off important decisions until later, but this is not universally true. Knowing what decisions have to be made up front and what can be deferred is part of the art of Agile architecture. However, I’ve found a simple rule of thumb that can offer guidance on this.

    This piece of advice that I’m going to give you has saved me more times than I can count. I live by it. It is very valuable, but like most advice is also very lofty. It won’t magically solve all of your problems, but I never found anything that could. What it can do is help you focus on opportunities that you might otherwise have missed to make your designs more expendable.

    Here it is: As a rule of thumb, if you can encapsulate an issue, you can defer on it without paying a big price later when you want to change it. It turns out that there are many ways to encapsulate an issue if you think of encapsulation as more than just hiding data.

    We will be discussing many ways to encapsulate different kinds of issues in upcoming posts, articles and rants. In fact, I believe that in addition to fulfilling the specification, a good design must also encapsulate as much as possible, so that when something needs to change, the impact to existing code is minimal.

    For example, accessor and mutator methods are used to encapsulate data within an object. If we follow the simple convention of always providing a public get() and set() method for every data item in an object, we are then free to change how we store the data item without affecting any callers who use the get() and set() methods.

    In a similar way, we can encapsulate a concept using an abstraction. For example, if we currently encrypt a message one way and want to be able to encrypt the message a different way later, we can create an encryptor abstract class that would allow all callers to use all encryptors in the same way, so that they would have no dependencies on any specific encryptor.

    This has two advantages: if you set things up right then you can add new encryptors in the future with minimal code change, and it allows us to code callers so they are completely unaware of which specific implementation they are using. This lets us add new variations with minimal impact on the system.

    But the biggest problems I’ve seen are not where there is a missing abstraction in a design, but rather a missing paradigm. For example, have you ever tried to internationalize a program after it is mostly written? It is very difficult. It can also be very difficult to switch platforms or user interfaces in applications that have not abstracted this layer.

    If you’re writing an application that you know will only be used on a single platform then perhaps it’s over-design to spend time further abstracting the GUI. If you think it is likely that you will want to run on different platforms, then using a language or framework that supports this would be wise.

    There obviously must be some thought given when architecting a system. Many successful Agile software-development projects do a lot of upfront architecture and design; they just call it by a different name.

    Instead of writing long-winded specifications, Agile architects often play the role of product champion, defining stories and acceptance tests that specify system behavior. Developers can then build their unit tests from these acceptance tests.

    I know that I am using the word “test” here, as in Test Driven Development, but these are not the kind of verification tests that QA runs. We call them tests, but they are actually more a kind of  “executable specification.”

    The very nature of iterative development lends itself to letting a design emerge organically. There is a lot to be said for finding the quickest path to the greatest value. If the greatest value for a project is generating a particular kind of report, then identifying the information needed to generate the report, and how to get into the system, might represent a good starting path.

    However, I believe, on very large projects or projects that lend themselves to a lot of code reuse or common tools, it can be beneficial to establish efforts in building specific tools or libraries needed for a project. I don’t think the agile community at large has fully worked this out yet. Especially on large software-development projects, Scrum and Agile seem to be missing a few key distinctions, in my opinion. I’ve seen large agile projects succeed but mostly due to the outstanding efforts of a few superstars with forethought.

    So what can we take away from this discussion?

    Architecture and design still exist in Agile projects, but the way we do it is different than traditional waterfall development. Agile projects tend to:

    • Defer making decisions until they are needed
    • Constantly strive to provide value to the customer from Day 1
    • Drive development from acceptance tests and unit tests
    • Use TDD to create “living specifications”
    • Seek to encapsulate as much as possible
    • Know what decisions cannot be easily encapsulated and therefore must be made up front

    What do you think? I’d love to hear your thoughts, ideas and suggestions. Please feel free to share your comments below. I plan to explore these and other ideas further in future posts.

    {1 Comments }

    • Glen Alleman says:
      September 16, 2015 at 11:48 pm

      If you’re labeling Waterfall as “having all the requirments up front,” OK. But those of use who work in the domain where Waterfall was invented – Aerospace and Defense – woudl suggest that was and is never true.
      Capabilities Based Planning – as practiced in the Waterfall paradigm, doe noit fix the requirements up front. There is a series of “maturity assessment” events where requirements “emerge” as the fidelity of the product’s needed capabilities progress. Systems Functionality Review (SFR), Systems Requirements Review (SRR), Preliminary Design Review (PDR), Critical Design Review (PDR), Test readiness Review (TRR) are typical “traditional” maturity assessment points.

      Currently Spiral and Spiral Commit models are used, especially for Software Intensive Systems and Systems of Systems. Agile is coming to our domain, and fits very nicely with the traditional approaches, where at the “program” level “assessing the increasing maturity” is a process moving in time. And the agile development processes are “below the line,” responding to change.

      Reply

    Previous Post: « It’s January 1st: Happy New Blog!

    Next Post: “That’s Not TDD” »

    Leave a Reply Cancel reply

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

    Solutions

    I Can Help
    • Define
    • Educate
    • Integrate
    • Advise

    Consultation
    • Assessments
    • Design Reviews
    • Code Inspections
    • Ongoing Support

    Testimonials Clients

    Resources

    • Blog
    • My Book: Beyond Legacy Code
    • Referral Program
    • Associates


    Read my book!
    Schedule a Call

    Training

    • Training Schedule
    • Learning Roadmap
    • On-Site Classes
    • Online Training
    • Customized Coaching and Mob Facilitation

    Course Descriptions
    • Developer Essentials Training
      • Agile Analysis and Design Patterns
      • Hands-On: Extreme Programming Practices
    • Object-Oriented Analysis and Design Patterns
    • Scrum Software Developer Essentials
    • Agile Software Developer Essentials
    • Agile Software Developer Intensives

    Copyright 2026 © To Be Agile. All rights reserved. Privacy Policy.

    This website uses cookies to improve your experience. I'll assume you're ok with this, but you can opt-out if you wish. Cookie settingsACCEPT
    Privacy & Cookies Policy

    Privacy Overview

    This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
    Necessary
    Always Enabled
    Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
    SAVE & ACCEPT