Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hate Nested IFs? Consider this...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086217
Message ID:
01086918
Views:
30
>SNIP
>Seeing such code as I described would have you categorize me as an unprofessional developer. As I said, I don't care what people think of me based on my code. But it would be a shame if you drew other conclusions regarding the "quality" of the application based solely on that.
>I write my code that way for CLARITY, to leave no doubt about as many things as possible. So what you see as "unprofessional" I see as extra professionalism.
>And I don't believe it's legitimate to "expect that the next developer in line will also be a professional" if you mean one with xx years experience. A novice to VFP could still be a "professional developer".
>In my opinion minimum typing and minimum lines does not equate to a "professional developer".

That's interesting, I've always used the CASE construct for large condition tests as I find nested if statements going deeper than 2 levels easy to misread when looking over code.

Each to their own :)
Cheers,
Jamie
Previous
Reply
Map
View

Click here to load this message in the networking platform