Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single exit-point
Message
 
To
03/04/2002 10:36:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00640316
Message ID:
00640371
Views:
23
>But for readibility, I don't quite agree on this point - the sample code looks very clear to me. IMO, a programmer should be well-versed with how VFP handles shortcut-boolean-evaluation (since many programmers are NOT well-versed, I can provide additional explanation on request). Again IMO, it should be immediately clear in the sample code that a) DoFirstStep() is executed, followed by DoSecondStep() and DoThirdStep(). b) If any step fails, the next step will not be executed.

Ok, this might be up to one's personal preferences <s>. But I totally agree with you, that a good VFP programmer should know (I do <g>), how an if statement is handled by VFP. But for me, the case structure is a little more clear, since you don't have so many semicolons hanging around, that could be forgotten while coding <g>. IMO debugging is a big plus for CASE, since you don't get from one function's code to the other directly.

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform