Win tickets to the ATP finals

It is one of those jokes that appears in e-mail inboxes with tiresome regularity: Bill Gates says that if the car industry had kept up with the computer industry, we'd be driving £25 cars which did 1,000 miles to the gallon; General Motors responds by saying that if they built cars like Microsoft, they would crash about twice a day.
Life imitated art at the WWW2006 conference in Edinburgh last week, where Mary Ann Davidson, the chief security officer at Oracle (the largest database company in the world) started making comparisons between the computer industry and the construction industry, as part of a critique of current standards in software engineering.
"What if civil engineers built bridges the way developers write code?" she asked. "What would happen is that you would get the blue bridge of death appearing on your highway in the morning."
It's an interesting comparison - but to get useful answers, we have to ask it the other way round, as presumably that's what she's pushing for. So, what if developers wrote code the way civil engineers build bridges?
The first thing to notice about bridge components and bridges is that you can't really use them in more than one place. If another bridge across the Severn is needed, commuters in Fife might be quite irate if you borrowed the Forth Road Bridge to do the job. Code, on the other hand, is extremely easy to reuse. In software, you would just wrap the bridge-making code up in a procedure called makeSuspensionBridge() and call it again.
The practical result of this, whenever a software developer writes new code, is that it is usually because they need to do something that's never been done before - or, at least, not quite in that way - whereas bridges which use new construction techniques are few and far between. Words like "tried and tested" are music to the ears of engineers. Boring is comforting. So the first thing software built like a bridge would be is uninnovative - about the same as what you had before.
The second important thing about bridges is that they don't go up or come down overnight. The proposed Straits of Messina bridge from Italy to Sicily has been in planning for decades. It's about as cutting edge as it gets - when and if completed, it may well be the longest span suspension bridge in the world. The construction alone will take six years and cost 4.6 billion euros, and its lifespan is over a century.
Software, by contrast, is built fast and changes quickly. The voice-over-Internet program Skype went from first public beta to version 1.0 in less than a year; it's now at version 2.5 (beta, naturally) and has gained a raft of new features such as video conferencing, voicemail and SMS. Can you imagine a bridge in beta? "Save time on your commute! But make sure you dodge the holes in the deck..." Yet in six years, an age in internet time, an entirely different system may be in control in the VoIP space (hopefully one built on open protocols, but that's another article).
So, what would happen if developers wrote code the way civil engineers build bridges? The answer is that you'd end up paying millions and waiting decades for software not much different from what you had already, and then you'd have to use it for a lifetime. Fundamentally, no one wants software like that.
That's not to say that the software industry hasn't got quality problems; in some segments people are demanding better software, and the status quo is changing. The browser market is a good example here, as Firefox's reputation for security drives its replacement of Internet Explorer. But it took engineers from the 1879 Tay Bridge disaster until Tacoma Narrows in 1940 to really get the knack of bridge building. By that measure, Mary Ann needs to accept that we still have about 30 years to go.
Gervase Markham works for the Mozilla Foundation, a non-profit organisation dedicated to promoting choice and innovation on the internet. His blog is Hacking For Christ.
Read his previous article for Times Online here
Articles from our sister site WSJ.com:
You may be asked to subscribe to read certain articles
Industry sectors news at a glance. Interactive heatmap, video and podcast
Everything the Business Traveller needs to know to make a better trip
Get ready for the winter sports season, with our resort guides and snow reports
We are backing British business, what is the confidence of the nation and what businesses are succeeding?
Growing demand for energy, oil that is harder to reach and the rise of carbon dioxide emissions. We examine the energy challenge
Enjoy further reading from Travel to Fashion, Business to Sport, discover more
Shortcuts to help you find sections and articles
36-month car lease
on contract hire for
£359.99 plus VAT pm
12 months for the price of 11 and a 5% discount.
Offer ends 31/11/09
The UK's leading alternative to showroom finance.
Finance packages tailored to your needs.
Minimum loan of £15,000
Car Insurance
c£100,000 + car, bonus & bens
Lord Search & Selection
Midlands
Competitive
Barclaycard
Competitive
EVERSHEDS
London and Manchester
£80-95,000
Clay McGuire Executive Selection
Moments from Battersea Park.
For sale with Winkworth.
See your free Experian credit report beforehand
Book now & save over £100pp.
11 cool resorts, lowest prices... Early Booking offers 15 Nov.
20% off selected Azores holidays taken in October with Sunvil Discovery
Get covered on your travels with a superb range of policies at great prices. Visit InsureandGo.com
World Class Golf, Spa and preferential Beach Club. Private estate overlooking West Coast
Villas from £275 per night inclusive of Golf
Contact our advertising team for advertising and sponsorship in Times Online, The Times and The Sunday Times, or place your advertisement.
Times Online Services: Dating | Jobs | Property Search | Used Cars | Holidays | Births, Marriages, Deaths | Subscriptions | E-paper
News International associated websites: Globrix Property Search | Milkround
Copyright 2009 Times Newspapers Ltd.
This service is provided on Times Newspapers' standard Terms and Conditions. Please read our Privacy Policy.To inquire about a licence to reproduce material from Times Online, The Times or The Sunday Times, click here.This website is published by a member of the News International Group. News International Limited, 1 Virginia St, London E98 1XY, is the holding company for the News International group and is registered in England No 81701. VAT number GB 243 8054 69.