COBOL Will Outlive Us All 318
jfruh writes "Here's an old computer science joke: What's the difference between hardware and software? If you use hardware long enough, it breaks. If you use software long enough, it works. The truth behind that is the reason that so much decades-old COBOL code is out there still driving crucial applications at banks and other huge companies. Many attempts to replace COBOL applications flopped in the 1980s and '90s, and we're stuck with them for the foreseeable future — but the Baby Boomers who wrote all that code are now retiring en masse."
Re:Batch (Score:5, Funny)
Lords of COBOL (Score:5, Funny)
All of this has happened before and will happen again...
Re:Lords of COBOL (Score:3, Funny)
Not to me it wont! As an ex cobol programmer I have a no resuscitation card for cobol emergencies card to be buried with me.
Re:So Simple! (Score:5, Funny)
So get that manual out, and have a try!
These seem to me like famous last words, almost as dangerous as the classic "Hold my beer and watch this!"
As will Java (Score:4, Funny)
as will Java, the new Cobol. So what?
Job Postings (Score:4, Funny)
Well, of course COBOL is still around (Score:3, Funny)
Re:Batch (Score:5, Funny)
The real problem with COBOL is that, as Larry Wall has pointed out, you can't write poetry with it. There just isn't any good poetry that starts out with IDENTIFICATION SECTION.
The one thing I do miss about COBOL is easy access to fixed-point numeric processing. This seems like a no-brainer, but it is still missing from nearly every language.
Re:Batch (Score:5, Funny)
There once was an IDENTIFICATION SECTION
Preceding a formula that defied all reflection.
Using all the chem-lab's powers,
it ran longer than four hours,
To make pills that promoted erection!
Re:Batch (Score:5, Funny)
It just turns out those particular qualities are highly sought after in many large companies.
It keeps its head down, doesn't rock the boat and never asks for a pay rise?
Re:Batch (Score:5, Funny)
RPG vs COBOL!!!
Fight! Fight!
Canes and walkers allowed... No punching the kolostamy bag.
Re:Batch (Score:4, Funny)
There once was an IDENTIFICATION SECTION
Preceding a formula that defied all reflection.
Using all the chem-lab's powers,
it ran longer than four hours,
To make pills that promoted erection!
...Burma Shave
Re:If a technology is outdated, outsource it. (Score:5, Funny)
Re:Batch (Score:4, Funny)
IDENTIFICATION DIVISON.
PROGRAM ID. A COBOL FABLE.
SECURITY. INSECURE.
PROGRAMMER-ID. ARTHUR SHAPIRO.
REMARKS. SLIGHTLY MORE MANGLED VERSION OF ONE IN JAN., 1968
DATAMATION.
DATE WRITTEN. ONCE UPON A TIME.
ENVIRONMENT DIVISON.
CONFIGURATION SECTION.
OBJECT COMPUTER. ANY MUSIC BOX, MEMORY SIZE 8X64 BYTES,
19 TAPE DRIVES, 11 DISK DRIVES, 1 GOLDILOCKS, 3 BEARS.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT TAPE DRIVES, ASSIGN THEM TO CREDITOR.
SELECT DISK DRIVES.
SELECT GOLDILOCKS, SELECT BEARS, ASSIGN TO ONE COTTAGE.
I-O CONTROL.
APPLY RED TAPE TO TAPE DRIVES, APPLY BRAHMS RECORD TO DISK DRIVE,
APPLY GOLDI, BEARS TO COTTAGE.
DATA DIVISON.
FD GOLDI.
LABEL RECORDS ARE STANDARD
VALUE OF IDENTIFACTION IS "GOLDILOCKS"
DATA RECORD IS GOLDILOCKS.
01 GOLDILOCKS.
02 HGT SIZE IS 62 INS.
02 WGT SIZE IS 110 LBS.
02 VITAL-STATS.
03 B 38.
03 W 24.
03 H 36.
02 RATING 100%.
FD THREE-BEARS.
LABEL RECORDS ARE STANDARD
VALUE OF IDENTIFICATION IS "BEARS"
DATA RECORDS ARE DADDY-BEAR, MUMMY-BEAR, BABY-BEAR.
01 DADDY-BEAR.
02 HGT 70 INS.
02 WGT 750 LBS.
02 COLOR-OF-EYES BLOODSHOT.
02 DISPOSITION UNBEARABLE.
01 MUMMY-BEAR.
02 HGT 65 INS.
02 WGT 700 LBS.
02 COLOR-OF-EYES BLUE.
02 DISPOSITION BEARABLE.
01 BABY-BEAR.
02 HGT 40 INS.
02 DISPOSITION INFANTILE.
WORKING-STORAGE SECTION.
01 COTTAGE PICTURE IS COZY.
02 KITCHEN.
03 TABLE SIZE IS LARGE, VALUE IS 1.
03 CHAIRS SIZE IS MEDIUM, VALUE IS 3.
02 PORRIDGE.
03 KING-SIZE OCCURS 1 TIME.
03 QUEEN-SIZE OCCURS 1 TIME.
03 PRINCE-SIZE OCCURS 1 TIME.
02 DOOR SIZE IS USUAL, VALUE IS OPEN.
02 BEDROOM.
03 BED.
04 LARGE OCCURS 1 TIME.
04 MEDIUM OCCURS 1 TIME.
Re:Batch (Score:4, Funny)
It didn't start with IDENTIFICATION SECTION, so your example doesn't hold. But here's one:
IDENTIFICATION SECTION delightfully leading to nouns and verbs of magic...
In COBOL!!!
A language for managers, a language for all -
Bits of love, bytes of affection, words of poetry, identifying sections of paradise.
Programming, motherfucker!
Do you speak it?
Re:Batch (Score:2, Funny)
As keeper of the OpenCOBOL FAQ, I'll beg to differ.
Here is a 3 line compilable 5-7-5 un-haiku
PROGRAM-ID. ONE
PROCEDURE DIVISION. ADD.
1 TO RETURN-CODE.
Re:Batch (Score:4, Funny)
Ah yes, COBOL poetry. The fourth worst poetry in the universe.