For most people who work in IT, the programming language Cobol is as dead as the dodo. Yet Grace Hopper, the woman credited with establishing Cobol as the language of business, would be pleased to know that 100 years after her birth, the language still underpins many applications that keep modern businesses going.
This Saturday is the centennial of Grace Hopper, who was born on 9 December 1906. Often referred to as "the mother of Cobol", her contribution to the theory and practice of programming is commonly appreciated as enormous. She is credited, among other achievements, with being the first person to develop a compiled program in an age when computers worked by running programs that were interpreted one line at a time.
Hopper took her first degree in mathematics and physics at Yale University and her Master's in the same subjects. She taught at Vassar before joining the US Naval Reserve in 1943 and working on one of the earliest electronic calculators, the Harvard Mark 1. She was now in her element working as, effectively, one of the world's first computer programmers — and she was very good at it. (For a comprehensive Wikipedia entry, read this.)
She continued working on the Harvard Mark 1 and Mark 2 before moving to another company in 1949 to work on the Univac 1, where she developed the compiler.
After returning to the Navy, she worked on validating software written in the new language, Cobol, with which her name would be indelibly associated. Her greatest achievement in computing was here, as she gradually evolved the idea that software should be easy to use, instead of being a long string of mathematical functions and notations.
From that point came the principle that programs should be easy enough for businesspeople to use and understand; in principle, Cobol is for the businessman and not the scientist.
"Cobol is still in use today and plays a part in those programs that keep businesses running," Julian Dobbins, director of product management at Micro Focus, one of the key companies still developing for the language. "[Analyst firm] Gartner reckons that 75 percent of business transactions are still done in Cobol."
Banks and other financial institutions are chiefly accountable for this high figure. Systems that run banking transactions, such as ATMs, were largely written years ago and are still running. They are economical and efficient and Cobol code is easy to fix if these go wrong, so, the argument goes, why change them?
As for new applications, there is little if any work still done in Cobol, with more modern languages, such as C+, having replaced it.
So why use Cobol today? "As a programming language it was designed on sound principles," said Dobbins. "And you can take modern principles like web services and service-oriented architectures (SOA) and find that it offers really very easy deployment."
But even Dobbins, who has used Cobol himself since his college days, admits that Cobol is stuck with a poor image. "I remember chatting with a programmer at a conference and talking about using Cobol in object-oriented apps," said Dobbins. "He said, 'Why would I want to do that, it would be like turbo-charging an ox-cart'. My response was to say that the world does not rely on ox-carts."
Dobbins sticks with the view that the world does rely on Cobol. Dobbins believes that the principles that make Cobol a sound language to this day are those first established by Grace Hopper and that 100 years after her birth, the world should continue to be grateful for them.
Grace Murray Hopper: born 9 December, 1906, died 1 January, 1992.