2 for 1 tickets to Singin' In The Rain, this coming Monday. Book now
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
Enjoy screenings of all the classic films you love, plus take advantage of two-for-one tickets
Have you ever dreamed of owning your own racehorse or a beautiful painting?
Enjoy comfort, safety, space and great design. Plus enter our great competition
Times Online's new TV show helps you make the right decisions for your pet
Are you California dreaming? Explore the wonders of the Golden State. Also enter our fantastic competition
Do you have what it takes to be a Times photographer?
Your brain is capable of more than you might think...
Find out to make the most of your money with our wealth management guides
Need help with your property? We have an entire how to guide - buying, selling, letting, moving, to help you
We are seeking entries for the inaugural Sunday Times Best Green Companies Awards
Enjoy some wonderful inspiring wildlife moments
An interactive preview of the brand new For Your Eyes Only exhibition

Love Sudoku? Play our brand new interactive game: with added functionality and daily prizes

Are you irritable when you return from work? Drained of emotion? You could be suffering from boreout
Prepare for some shock and awe, petrol lovers. Despite the greens trying to wipe it out, the car is about to offer us the most exciting year ever
We've trawled the brochures and websites to find this summer’s best holidays for every taste and budget

Find a course, arrange a game and save money
2007/07
£57,500
South East England
2007/07
£40,995
South East England
2006/06
£41,995
South East England
Great car insurance deals online
£40-55k+benefits+uncapped commission
Morgan Keating
South East
Up to £30,000
GLE
London
£
c£75,000 + executive benefits
Morgan Keating
London and South
Unpaid with travel expenses
Network Rail
Globrix, the property search engine
Visit Times Online Property for homes for sale or rent
Residential development site with planning permission
£1,500,000
Mortgages, bank accounts & money transfers to help you buy abroad
Dinarobin Hotel Golf & Spa 7 nights
From £1830 per person – saving £530.
Walking & multi-activity holidays in Cauterets. Stylish self-catering apartments.
From 350€ for 7 nights.
SAVE 25% on Sandals Luxury Resorts
Great travel insurance deals online
Contact our advertising team for advertising and sponsorship in Times Online, The Times and The Sunday Times. Search globrix.com to buy or rent UK property.
© Copyright 2008 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.