Channels ▼
RSS

Database

Is Your Next Language COBOL?


In July, citing a budget shortfall, the Governor of California ordered the salaries of 170,000 State employees to be cut to the Federal minimum wage.

Not so fast, said the State Controller. Because California's payroll systems are written in antiquated Cobol code, it would take six months to implement the change and nine months to restore salaries later. That's if we had the Cobol programmers to do the job, which we don't, because you fired them last week, Governor. And we can't hire them back because nobody's going to take a pay cut from Social Security to program Cobol for minimum wage.

Government is our favorite spectator sport.

Blame Cobol

It may seem surprising that it takes any programming at all to implement a salary change in a payroll system, but a commenter on Slashdot said it was at least plausible, and that's good enough for us. What is not surprising is that Cobol would get blamed. Cobol is the most reviled programming language ever created.

On Dr. Dobb's CodeTalk blog this summer, Walter Bright said, "Programming languages are developed by programmers for programmers. This is as it should be. The last language developed for management was Cobol...I've never heard a nice word said about it."

There have been plenty of the other "kind" words spoken about this nearly 50-year-old language, though. The Turing Award-winning computer scientist Edsger Dijkstra famously said, "The use of Cobol cripples the mind; its teaching should, therefore, be regarded as a criminal offense." Perl creator Larry Wall made his loathing more specific: "I knew I'd hate Cobol the moment I saw they'd used perform instead of do." Pulling no punches, the Jargon File informs us that Cobol is "a weak, verbose, and flabby language used by card wallopers to do boring mindless things on dinosaur mainframes," adding that Cobol is "synonymous with evil."

And it's no fun, either. "As a programming tool," Charles Petzold once said, "it has roughly the sex appeal of a wrench." Small wonder Cobol has few ardent enthusiasts. Pretty uncomfortable to be a Cobol programmer today, then, especially since "Cobol programmers are destined to code Cobol for the rest of their lives," as Bertrand Meyer has said, "and thereafter."

So if all that is true, isn't it strange that Cobol: 1) is the most widely used language in the 21st century; 2) is critical to some of the hottest areas of software development today; and 3) may be the next language you'll be learning?


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video