Create better software by starting on paper

Today I read an article on the Wall Street Journal about the benefits of taking handwritten notes over taking notes electronically. It’s a great article and I have seen parallels in my own professional work.

For years I have trained computer programmers and others in various technology roles. I have observed a similar effect which has led me to make a case for starting with what I call a “blank canvas”. I try to explain that one of the reasons it is ineffective to start with technology, rather than a blank sheet of paper, is that the technology immediately imposes limits and artificial decisions on us. Writing in the margins is easy on paper, buy hard in a computer program. Symbols are hard on a computer, but easy by hand. Orientation and connecting ideas are difficult on a computer, but easy on paper. Fonts, styling, etc. are a distraction on a computer, but don’t affect a hand note taker. Each bit of software designed to capture ideas pre-supposes certain aspects of format and approach, which force the note taker to conform to the technology. The hand note taker, on the other hand, can mix formats and approaches with virtually no effort.

My first instruction to any new programmer I teach is to turn of his display or close his laptop and write by hand the thing he’s trying to accomplish. This always reduces time to implement, reduces bugs and results in more extensible software.

There are several reasons this reduces time, bugs and results in more extensible software. The process of writing things out by hand forces the programmer to start at a higher, more abstract level and validate what he is designing into his software. More of what makes it into the design addresses the problem being solved. A good high level design is more easily translated into sensible classes with well defined responsibilities. Higher level design also more naturally encompasses consideration of related systems and processes, which results in more natural integration points. The software is more extensible. Starting on paper also leads to more appropriate technology selection, such as programming languages and datastore technologies.

When a programmer starts with the computer instead of paper, he is more likely to find himself answering low level questions about whether his chosen technology can do certain things. He begins to cobble together what he thinks the application should, which results in messy logic and lacks clear boundaries between responsibilities. The software that emerges lacks clarity, is difficult to test and often suffers from hard to find bugs as a result.

As in the classroom, so in software design. Do yourself and your project a favor and start on paper.

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

About Daniel Watrous

I'm a Software & Electrical Engineer and online entrepreneur.

One Response to “Create better software by starting on paper”

  1. Fatal error: Uncaught Error: Call to undefined function ereg() in /home/dwatrous/webapps/software_danielwatrous_com/wp-content/themes/headlines/includes/theme-comments.php:66 Stack trace: #0 /home/dwatrous/webapps/software_danielwatrous_com/wp-content/themes/headlines/includes/theme-comments.php(22): the_commenter_link() #1 /home/dwatrous/webapps/software_danielwatrous_com/wp-includes/class-walker-comment.php(180): custom_comment(Object(WP_Comment), Array, 1) #2 /home/dwatrous/webapps/software_danielwatrous_com/wp-includes/class-wp-walker.php(146): Walker_Comment->start_el('', Object(WP_Comment), 1, Array) #3 /home/dwatrous/webapps/software_danielwatrous_com/wp-includes/class-walker-comment.php(140): Walker->display_element(Object(WP_Comment), Array, '5', 0, Array, '') #4 /home/dwatrous/webapps/software_danielwatrous_com/wp-includes/class-wp-walker.php(371): Walker_Comment->display_element(Object(WP_Comment), Array, '5', 0, Array, '') #5 /home/dwatrous/webapps/software_danielwatrous_com/wp-includes/comment-template.php(20 in /home/dwatrous/webapps/software_danielwatrous_com/wp-content/themes/headlines/includes/theme-comments.php on line 66