Re: [VB5) Faster way to read a text file?
- From: "Robert Morley" <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Aug 2007 01:12:54 -0400
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
.
- Follow-Ups:
- Re: [VB5) Faster way to read a text file?
- From: DanS
- Re: [VB5) Faster way to read a text file?
- From: Steve Gerrard
- Re: [VB5) Faster way to read a text file?
- From: Gilles Ganault
- Re: [VB5) Faster way to read a text file?
- References:
- [VB5) Faster way to read a text file?
- From: Gilles Ganault
- Re: [VB5) Faster way to read a text file?
- From: Schmidt
- Re: [VB5) Faster way to read a text file?
- From: Schmidt
- Re: [VB5) Faster way to read a text file?
- From: Randy Birch
- Re: [VB5) Faster way to read a text file?
- From: Robert Morley
- Re: [VB5) Faster way to read a text file?
- From: DanS
- Re: [VB5) Faster way to read a text file?
- From: Robert Morley
- Re: [VB5) Faster way to read a text file?
- From: DanS
- [VB5) Faster way to read a text file?
- Prev by Date: Re: [VB5) Faster way to read a text file?
- Next by Date: Re: Put Object Containing Object
- Previous by thread: Re: [VB5) Faster way to read a text file?
- Next by thread: Re: [VB5) Faster way to read a text file?
- Index(es):
Relevant Pages
|