Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hate Nested IFs? Consider this...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01086217
Message ID:
01086918
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform