InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Pragmatic is the new black - Reality Driven Development

Posted by Gavin Terrill on Feb 28, 2008

Sections
Process & Practices,
Architecture & Design
Topics
Delivering Value ,
Agile ,
Agile Techniques ,
Architecture
Tags
Emergent Architecture

Gustavo Duarte, software architect, created a stir when he discussed physicist Richard Feynman's findings on the Challenger Space Shuttle disaster and how they relate to engineering quality software. Gustavo's application of Feynman's principals to software yields four main points:

    • Engineering can only be as good as its relationship with management
    • Big design up front is foolish
    • Software has much in common with other engineering disciplines
    • Reliable systems are built by rigorously tested, incremental bottom-up engineering with an 'attitude of highest quality'

In a follow up article Gustavo elaborates on the concept of empirical evidence, introducing the idea of "Reality Driven Development":

Action and experimentation are the cornerstones of empiricism. No attempt is made to subdue reality by extensive analysis and copious documentation. Reality is invited in via experiments. Instead of agonizing over market research, an empirical company hires interns and develops a product in one summer. A non-empirical company has 43 people planning an off-button design for one year.

The concept, drawing from evolution, espouses the philosophy of survival of the fittest. In essence, you try some stuff, keep what works and throw out what doesn't. Gustavo explains:

A good software development process should optimize experimentation and improve feedback from reality. This is what I mean by reality-driven development. And in software the most important realities are user experience and technical quality, while the primary experiments are working software and code. This isn't a formal model (heh), it's simply my favorite analogy for software development. I like the name "reality-driven" because when you mention reality, people think of users.

The idea shares some of the core principals and techniques of Agile, however Gustavo is (thankfully) not advocating a new methodology:

There is no specific reality-driven methodology. The Agile principles have a lot in common with these ideas (and certainly influenced them), but the devil is in the details. I prefer to think of software engineering in terms of a toolbox, full of techniques we pick and choose for the right situation. Process tools for optimizing experimentation include iterative development, executable architecture, continuous integration, and unit testing.

The bias of Gustavo's approach is toward the user and quality:

Based on this model, the two realities we care about are user experience (including the software's utility) and technical quality. User experience is often neglected in agile and waterfall alike.

Gustavo concludes with a refinement of his bottom-up approach:

  1. Have a bias for experiment over analysis, though both have their place.
  2. Optimize experiments: make them as early, fast, cheap, and broad as you can. Analysis can help here.
  3. Experiment vigorously.
  4. Be smart and proactive about measuring reality: user experience and technical quality.
  5. React to feedback. Let reality drive.
What about the product vision? by Tim Ferguson Posted
  1. Back to top

    What about the product vision?

    by Tim Ferguson

    I really like this approach and agree that the experimentation and reality driven approach can help you come up with the "best" design of the software, but it seems that you can not rely on it solely to give you the vision of where the product needs to go. Don't you think you still need some input from marketing and a visionary to help guide where the experimentation goes and what the long term strategy is?

    Tim Ferguson, xaware.org

Educational Content

Jesper Boeg on Priming Kanban

In this interview, Jesper Boeg, author of the new InfoQ book – Priming Kanban, discusses the keys to using Kanban effectively, and how to get started if you are currently using other approaches.

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.