Naked programming on naked street

Be the first to comment | 2I like it!
April 25, 2005, 10:37 AM —  ITworld.com, Ebusiness in the Enterprise — 

Question: How do you stop people driving cars in built-up areas from injuring themselves and others?

Obvious answer: Put in place speeding limits, stop signs, traffic lights and generally as much stuff as you can think of, to control who/what goes where, and when they get there.

Less obvious answer: Strip out all the traffic controls. Let cars and pedestrians mingle as they like and let it all just sort of work itself out.

The latter cannot possibly work and would bring carnage to the roads, right? A couple of months ago I would have said that stripping out traffic controls in a built up area would be a recipe for carnage.

That was before I went to India.

From the moment I hit the insane traffic in Mumbai (i.e. from the moment I got out of the arrivals lounge) I had visions of wholesale impending traffic carnage. Carnage that regularly featured yours truly as one of the hapless victims.

My fear levels stayed in place on the roads all day. By the time I arrived in Pune I was something of a nervous wreck. In Pune, the fastest way to get around is by clamboring into the back of what amounts to a lawnmower[1]. No safety belts, no special lanes for different types of vehicle. Nothing.

I survived.

Not only did I survive, but so did everyone else apparently. I did not see a single accident over the ten days I spent in mortal fear of my life.

My experience in India contrasts dramatically with a trip I made last year to Barcelona in Spain. In the time it took to feed my family in a restaurant on Placa Catalunya[2], I witnessed one fender bender and three other minor incidents.

In India, there were zero controls and I experienced no accidents. In Barcelona, there were lots of controls and multiple accidents. What gives? My less-than-scientific field work notwithstanding, there would seem to be something interesting going on here.

Recently I came across the phrase 'Naked Street' and followed the link purely out of scientific curiosity. It turns out the phrase 'naked street'[3] is the term for Indian style traffic management and it is being trialled in various European countries at the moment.

Prone as I am to stretched analogies and obligated as I am to write about technology in this column, here is what interests me about all this:

Question: How do you stop people writing programs in which bits of programs crash into each other by sending wrong information into the various algorithms? i.e. sending a number when a date is expected, sending three strings when two are required, that sort of thing?

Obvious answer: Put in place rules and regulations so that attempts to do that sort of thing will be stopped before the program even runs. Put as much stuff as you can think of in place to control what data goes where, how it is structured etc. In the trade this is called "static typing".

Less obvious answer: Strip out all the controls. Let bits of programs mingle as they like and let it all just sort of work itself out on the fly. In the trade, this is called "dynamic typing".

Sounds crazy doesn't it?

As crazy as Indian traffic management in fact.

And just as effective.


[1] http://ivo.nu/albums/india-apr03/traffic_jam.sized.jpg


[2] http://www.marmotte.net/thias/200108-friends/0334.jpg


[3] http://www.worldwidewords.org/turnsofphrase/tp-nak1.htm



ITworld.com, Ebusiness in the Enterprise

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

jfruh
Apple syncing patent can't come soon enough

pasmith
New Twitter features borrow from 3rd party clients

Esther Schindler
Open Source Changes the Software Acquisition Process

mikelgan
How to set up continuous podcast play on the new iTunes

David Strom
Five important Windows 7 mobility features

sjvn
Guard your Wi-Fi for your own sake                        

Sandra Henry-Stocker
Grepping on Whole Words

 

Sidekick: The Good News & the Bad News
Either way you look at it Microsoft Data Center management did not follow standards or best practices in this failure. In which case it makes me wonder more about the outsourcing of corporate data much less personal data.
- mburton325

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace