Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Argument starter - The roots of all evil
Message
From
07/09/2004 05:15:31
 
 
To
06/09/2004 15:15:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00938079
Message ID:
00939884
Views:
23
>>
>>>So what's more at issue here is some other developer's misuse of the commands, not the commands themselves.
>>>
>>Mainly that they lead to slovenliness in code and misuse thereof.

>But Terry,
>
>It is apparently your conclusion that a tendency to use EXIT/LOOP invariably results in code slovenliness. That truly is a leap of faith... a peson can write horrendous code without either and a person can write fine readable code using them all over the place.
>
>You don't "mind" particular uses but you'd still rather not see them. This is fine for YOUR code in YOUR style, but to brand anyone who uses them as bordering on slovenly is a bit much.
>
>cheers and EXIT

Jim,

Please don't get me wrong. I guess I should have put "can lead" in my sentence. I'm not saying "invariably". What I mean by slovenliness is that such liberal use of these commands, in order to get round bugs, punching exit doors out of the code, installing escalators and elevators, and garbage chutes, to continue the analogy, you end up with an Ikea store, with all those little side doors by which you can slip into another department, and miss all the goodies on your predefined loop. Another analogy is you end up with a game of snakes and ladders.

Proper use of structure, and timely adjustments to it (from the start, as each wee bug, or exception, arises), leaves code that's a lot more readable and maintainable.

Cheers and RETURN
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform