Download 'Too Hot', an exclusive Specials track from iTunes

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
Win a luxury weekend to Newcastle and its neighbour Gateshead, find out more here
Risk, resilience and embracing new technology
Industry sectors news at a glance. Interactive heatmap, video and podcast
Discover the power of collective thinking. Submit a solution and be in with a chance to win a Media Hub Home Entertainment System
The inside track on current trends in the charity, not for profit and social enterprise sectors
Everything the Business Traveller needs to know to make a better trip
Make the most of the summer and enter our fabulous photographic competition, you could win a £5000 holiday
Corsica is an island of beauty and contrast, an ideal holiday destination
Enjoy further reading from Travel to Fashion, Business to Sport, discover more
Shortcuts to help you find sections and articles
The clever way to lease a new car is with Car leasing made simple™
2009
per month on 36-month
Personal Contract Hire (PCH)
2008
42850
Car Insurance
£24,250 - £30,346
MI5
London
£60,000
The Environment Agency
Bristol
Up to £90K
Boots
Midlands
OTE £85k
Credit Protection Association
Nationwide Opportunities
Completely London
Luxury Condo's in Manhattan with NYC views
The best new homes in Wimbledon?
Nationwide
Fabulous Cruise And Cruise & Stay Offers Including Virgin Atlantic Flights Prices Start From Only £699pp!
Last Minute Cruise And Cruise & Stay Offers. Med From £499pp, Caribbean From £699pp!
5 star quality at a 3 star price.
8 fabulous Canadian cities ...you won’t find cheaper
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 | Property Finder | 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.