Re: [VB5) Faster way to read a text file?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I guess I don't really have a full understanding about structured
programming then. I wouldn't see using an Exit xxx as being un-
structured.

By and large, it's a concept that has been abandoned even by many modern
structured programmers. Some, especially the "old guard", consider it to be
a form of the evil GoTo, but when you get right down to it, so is ANY
conditional statement...at least when you take it down to the assembly
level.

If anybody's curious, there's a very good wiki article on the topic at
http://en.wikipedia.org/wiki/Structured_programming. Obviously, I would be
a proponent of the Dijkstra model (though I make exceptions for raising
error conditions with "proper" use of On Error and/or Error.Raise in VB).
Most programmers these days have moved on to the second methodology
highlighted at the top of the article, a model that permits the use of
things like Exit For/Exit Do (or Break, etc. in C/Pascal/Delphi).

What can I say? I became an old curmudgeon, set in my ways, at a very young
age. :)



Rob


.



Relevant Pages

  • Re: Infinite Loops and Explicit Exits
    ... >The methods are neither common nor uncommon. ... It's unfamiliar to Cobol programmers because the equivalent to UNDO -- ... EXIT PERFORM -- can only be used with in-line PERFORM. ... >that turns out to have been a problem with the ALTER verb. ...
    (comp.lang.cobol)
  • Re: EXIT SECTION/PARAGRAPH
    ... one section for the body of the procedure division, ... that section as required by 2002, EXIT statement ... This will, in effect, transfer control to the ... Old School Cobol programmers have an almost genetic belief that the last ...
    (comp.lang.cobol)
  • Re: EXIT PERFORM Help, please [LONG response]
    ... > JJG> of verbiage! ... > which you presented as an example of how to use EXIT PERFORM. ... > not a matter of personal style, ... that programmers generally are sensitive to what they write. ...
    (comp.lang.cobol)
  • Re: Looking for a way to convert dec to bin
    ... Don't you know, Rick, 1337 programmers don't USE comments! ... POSSIBLE ways to avoid Exit For, which was originally deemed impossible to ... expect to see all termination conditions in the loop clause somewhere (at ...
    (microsoft.public.vb.general.discussion)