Channels ▼
RSS

Design

C3 Programming


Shimon is the founder of Great Budget Software. He can be contacted at shimon@greatbudget.com.


Most software projects fail because they don't meet stakeholder's minimum requirements, come in significantly over budget, or delivered significantly late. What these reasons for failure have in common is miscommunication that occurs when business analysts transfer business requirements to programmers, and programmers define for quality assurance when the software will be ready for testing.

To foster better communication, programmers need to take responsibility for ensuring that business requirements are correctly interpreted into software. C3 programming addresses this issue by explicitly assigning responsibility to the programmer. On a macro level, this is analogous to a function call, input, operations, and output. The inputs are a contract of expectations by business, and the output is expected results. Coding is the operation.

As Figure 1 illustrates, the software development lifecycle (SDL) is broadly broken up into four roles—business analysis, programming, quality assurance, and stakeholder acceptance—and every major SDL model (CMMI, Waterfall, TDD, Agile, and XP) encompasses these roles in this order:

  • The stakeholder is the "boss" and the other roles implement the stakeholder's vision.
  • The business analyst role is to make the vision practical and capture contradictions and gaps in the vision, as well as prioritizing the work.
  • Programming is the design and writing of software code to accomplish the work.
  • The quality assurance role validates that the software code meets specified minimum conditions.

[Click image to view at full size]

Figure 1: Software development lifecycle roles.

C3 programming is a process for fostering better communications among these roles. As Figure 2 illustrates, C3 programming specifies how to successfully write software by defining programming in terms of three phases:

  • Contract
  • Code
  • Close

[Click image to view at full size]

Figure 2: The three C's — contract, code, and close

Additionally, C3 programming defines two components in the programming role: Backward facing (that is, working with business analysis), and forward facing (working with quality assurance). These components focus on interfacing with other roles because better communication between roles results in fewer defects. The programmer reflects back to the business analyst the perceived business need as implemented with software, and before coding, the programmer defines for quality assurance the conditions under which the code is ready for testing. Interfacing with quality assurance is often implemented with Test-Driven Development (TDD). Ironically, the significantly more expensive errors are between the business analyst and programmer.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Comments:

Video