Re: COBOL ain't quite dead - yet !



On Fri, 31 Oct 2008 11:34:42 +1300, "Pete Dashwood"
<dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

If the site standard is that ONLY sections get PERFORMed, there won't be
erroneous PERFORMs of paragraphs. After working this way for a few weeks you
stop thinking about paragraphs altogether.


Having the section and first paragraph labels 'costs' the possibility
of the wrong one being performed.

In theory, maybe. In practise, at least in my experience, never.

I have seen it happen. People come from all sorts of backgrounds,
even to shops with strict structural coding standards.

I've also seen people put paragraphs after exit paragraphs, without
noticing that the new performed paragraphs are part of a section.

Hmmm, I wonder if shops with such standards should end each section
with an EXIT SECTION command, if it was available. Trouble is, I
expect most shops with such standards don't have it available.

--
"In no part of the constitution is more wisdom to be found,
than in the clause which confides the question of war or peace
to the legislature, and not to the executive department."

- James Madison
.



Relevant Pages

  • Re: z/OS and OS/VS Cobol
    ... Cobol-85 from the early 1990's that contains about 60,000 unique ... This system never saw a Cobol-74 style compiler, yet we had standards ... The paragraphs must be numbered. ... often ignore 'new features that are available'. ...
    (comp.lang.cobol)
  • Re: IBM Enterprise COBOL V4R2 Announced
    ... through paragraphs in general. ... I think that a GO TO to an error routine that ends ... with a GOBACK or a STOP RUN is still useful. ... (Such standards can be a pain though). ...
    (comp.lang.cobol)
  • Re: Fluoride, Bone Density, and Frugal Living
    ... If you really want to provide useful information to us, ... split those medline summaries into paragraphs following the usual ...
    (sci.med.dentistry)
  • Re: Verbose functional languages?
    ... Here is a blog ... The first two paragraphs and the last paragraph are the most relevant to ... He is against standards designed by committee ... Michele Simionato ...
    (comp.lang.functional)
  • Re: Perform Thru/Go to vs. Perform - Compile Speed
    ... Because I usually wind up with relatively small paragraphs then 'Page ... to restrict indent levels or because it will be>20 lines or whatever) ... get past the style police perhaps? ... I believe that exit paragraphs should be scrapped entirely. ...
    (comp.lang.cobol)