Re: Infinite Loops and Explicit Exits

From: Lueko Willms (l.willms_at_jpberlin.de)
Date: 11/10/04


Date: 10 Nov 2004 10:38:00 GMT


. Am 09.11.04
 schrieb lacey@mb.sympatico.ca (Peter Lacey)
     bei /COMP/LANG/COBOL
      in 419192C2.4B3A7292@mb.sympatico.ca
   ueber Re: Infinite Loops and Explicit Exits

PL> The code can be clear as a bell, properly structured, meaningful data
PL> names etc., and still be incomprehensible. If you don't know what
PL> the program is supposed to be doing - let's say it's implementing
PL> some encrypting method which you don't know exists - you will NEVER
PL> be able to understand the code. At the very least, comments
PL> indicating where the problem statement is to be found are an absolute
PL> requirement.

  That's the kind of comment I had in mind as the necessary comments.
To explain what is not obvious from the code. But also, as DocDwarf so
efficiently explained, "obvious is in the mind of the beholder".

  But one should assume that the reader knows COBOL and knows about
the task being solved.

>> Quite often it happens that the program is changed, but the
>> documentation is not brought up to date, to conform with the actual
>> program.

PL> Then the comments are REALLY needed! I'd upgrade "quite often" to
PL> "nearly always".

   And I was thinking of the part of documentation which is the
comments in the program text.

Yours,
Lüko Willms http://www.mlwerke.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --

"Es sind nicht die Generäle und Könige, die die Geschichte machen,
sondern die breiten Massen des Volkes" - Nelson Mandela



Relevant Pages

  • Re: Honest question - so why do scientists suport ToE?
    ... to our emergent properties (life, mind, consciousness, soul, whatever) ... when we die and for whom the idea of missing that pearl is anathema. ... and there's no such thing as a soul. ...
    (talk.origins)
  • Re: Honest question - so why do scientists suport ToE?
    ... to our emergent properties (life, mind, consciousness, soul, whatever) ... when we die and for whom the idea of missing that pearl is anathema. ... and there's no such thing as a soul. ...
    (talk.origins)
  • Re: The Mind of an Islamic Terrorist
    ... The mind of an Islamic terrorist is difficult for a Western person to ... I don't think the mind of the Islamic fighter who is willing to die ... value whatever to their constituents, themselves, or the country they ... mind--but the American mind is beyond me. ...
    (soc.culture.iraq)
  • Re: The Mind of an Islamic Terrorist
    ... The mind of an Islamic terrorist is difficult for a Western person to ... I don't think the mind of the Islamic fighter who is willing to die ... value whatever to their constituents, themselves, or the country they ... mind--but the American mind is beyond me. ...
    (soc.culture.iraq)
  • Re: Fear of flying C4
    ... But people do die from air crashes at fairly regular intervals, ... See the irrationality? ... If the mind is in 'overdrive' then the victim does have a problem because that then shuts down the other facilities such as mobility which is needed in the 'fight or flight' mechanism, therein freezing the person in a state of overheightened panic. ...
    (uk.media.tv.misc)