Re: Cobol work?



Ian Dalziel wrote:

> On 17 Oct 2005 15:45:23 GMT, mwojcik@xxxxxxxxxxx (Michael Wojcik)
> wrote:
>
>>
>>In article <11l5em9nkca7318@xxxxxxxxxxxxxxxxxx>, "HeyBub"
>><heybubNOSPAM@xxxxxxxxx> writes:
>>>
>>> The difference between COBOL programming and C++ is the difference
>>> between Beethoven and Bojangles.
>>
>>This is patently absurd. Lousy software can be written in any
>>language. I've seen plenty of COBOL code that was utter dreck.
>
> Sure - so have we all.
> More to the point, have you seen any C++ code that was legible?

The matter of style is important here. It is perfectly possible to write in
COBOL
ADD A, B giving C
or even
COMPUTE (C = A + B)

which looks like a FORTRAN family language but you are far more likely to
see

ADD DOLLAR-AMOUNT, SALES-TAX GIVING TOTAL-CHARGES.

COBOL encourages the use of meaningful names, and other languages, at least
the way they are usually taught, don't.

COBOL also encourages meaningful internal documentation, starting with the
(original) IDENTIFICATION DIVISION. Other languages have commenting
mechanisms, but those languages are neutral on the subject. And internal
documentation is not part of the usual teaching method.

So IMO culture as much as specific capabilities encourages readable COBOL.
That was a principal goal of GMH when she conceived the language.


--
John Culleton
Able Indexers and Typesetters
.



Relevant Pages

  • Re: Java compatibility issues (WAS: MF having issues?)
    ... language it can do most of what C, C++, and Java can do. ... 2002 COBOL standard addresses that, but having a standard is a far ... Some flavours do have libraries. ... On the IBM mainframe we have Language Environment but it does ...
    (comp.lang.cobol)
  • Re: GoTo in Java
    ... were a year or two down the track and everybody was very happy with OCaml. ... > language switch would pay off in faster development (due in part to ... COBOL as a scripting language for .NET. ... Compare this with COBOL programmers discussing Java... ...
    (comp.lang.cobol)
  • Re: COBOLs Influence on C
    ... Cobol is the only language that has this problem. ... sure that the libraries containing ANYTHING that might be called are on ... And that is one reason why installations have Local Standards... ...
    (comp.lang.cobol)
  • Re: Java is becoming the new Cobol
    ... """If you're a Java developer, now's the time to invest in new ... It is even truer for COBOL developers. ... The question then is: Is Java just another fad language in the range: ... Sometimes it appears they'll use whatever the Fad Language Of The Month Club sent last ...
    (comp.lang.cobol)
  • Re: Wang COBOL alive and well as Wang VS makes a comeback
    ... I fought to the last to keep COBOL at least peripherally in the ... will be the next language du jour... ... This contributes to the stability of programming efforts ... level of COBOL to another can be as big a deal as migrating across platforms ...
    (comp.lang.cobol)