The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
There used to be a similar construct in COBOL (probably still is) that was commonly used in serial file access because when the end of file was hit it threw error code 23 - if you were processing a whole file this would happen once each run & therefore was an expected error.
Hence, you would continue to the next line after the read, but then the next line would be to check the error status - if it was 23, you knew you had finished, otherwise you invoked the error process.
If it's just being used to hide errors, though, I'm in full agreement. Probably why VB gets such a bad rap, but the coder has to take some of the blame.
The upside to this is the software (the VB thing) has not (yet) gone wrong.
And when it does, your name is first on the list.
True story, I had created an Access database and VBA interface waaaaay back in '97. They closed the company site I worked at in 2000 during the slash and burn buyout process Tyco was doing at the time. After Microsoft dropped the backward compatabilty in Access 2000 I got a call at home in 2001 from them wanting to know if I'd be interested in fixing the now broken database. I told them I needed to think about it, then said nah, sorry you're on your own.
It felt soooooooooo good to tell them off and leave them hanging. Dennis Kozlowski[^] can burn in h3ll, the company I was with was multimillion dollar profitable, but not profitable enough. Tyco sold the physical assets and moved production offshore.
The problem is that if you had more than one, they would jump in different directions, creating code in their own style, even if it has to interface with other code. I'd prefer a hairball slinging cat fight resulting in one winner.
Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759