John, I do to.otherwise it can be difficult to remember where your at in your code.
Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' On Apr 30, 2013, at 11:07 AM, John McKown <[email protected]> wrote: > Ah, a proto-manager! Too bad that there are quite a few COBAL (deliberate) > programmers and so few COBOL. Or, like many, still stuck using the very old > coding techniques. I am _finally_ seeing some COBOL which does in-line > PERFORM statements. I see very little, other than that and IF, that use the > END-verb constructs. Yes, it is a bit wordy. But I think it enhances > comprehension. Just like in my C and Javascript code, I enclose statements > in { } even when not absolutely necessary. > > You can do: > > for (int i=0;i<n;i++) call function(i); > > but I always code: > > for (int i=o,i<n;i++) { > call function(i); > } > > I even code > > IF condition THEN > STATEMENT > END-IF > > and I usually only put a single period in a paragraph, as the last line in > the paragraph. Everything else is delimited with END-verb. I never use NEXT > SENTENCE any more. <shudder/> > > On Tue, Apr 30, 2013 at 9:44 AM, Gerhard Postpischil > <[email protected]>wrote: > >> On 4/30/2013 10:27 AM, Farley, Peter x23353 wrote: >> >>> Seriously, I think you denigrate application programmers with remarks >>> like that. We are not dumb coding robots with no experiences outside >>> of our COBOL shell. >> >> There are programmers who write CoBOL, and there are CoBOL programmers. >> It's the latter we remember due to their uncanny ability to get into >> trouble; it's human nature to rubber-neck at traffic accidents, too. >> >> When I was a systems programmer at ADR, customer support had an >> intractable problem - a user production job kept running out of memory >> regardless of the region provided; the same job had run correctly during >> testing in the default region. It was a simple CoBOL file processing >> program with an E15 and E35 exit routine. When it was put into production, >> it was added under the, to them, obvious name of SORT. >> >> Nearly ten years later, at AMS, there was this user who kept running out >> of space..... >> >> Gerhard Postpischil >> Bradford, Vermont >> >> >> ------------------------------**------------------------------**---------- >> For IBM-MAIN subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO IBM-MAIN > > > > -- > This is a test of the Emergency Broadcast System. If this had been an > actual emergency, do you really think we'd stick around to tell you? > > Maranatha! <>< > John McKown > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
