Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hate Nested IFs? Consider this...
Message
De
13/01/2006 14:14:58
 
 
À
13/01/2006 12:24:48
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:
01086654
Vues:
27
SNIP

Hi Peter,

First let me say clearly that when it comes to discussions like this (coding preferences/standards) I take nothing personal.

>
>>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".
>
>Agree partly on this one. Did I mention xx years of experience? No. But although a novice may be called a professional just because he/she earns a salary with developing in vfp, I do not feel urged to write code in such a way that is understood fully even by a real novice. Do you?

I feel an urge to write code in such a way that it is clear what it is doing and to remove any need for a reader to go back to prior reviewed code to see certain things (which alias is now selected, or the code is finished with this table, as examples). And I don't see how this can hurt the "professional" reader unless they worry about the wrong things.

>
>
>>In my opinion minimum typing and minimum lines does not equate to a "professional developer".
>
>Agree on this one. Did I plea somewhere for minimum typing and minimum lines? My code contains a lot of empty lines, for clarity's sake.

No you didn't. But others do, so I mention it as a big (main?) issue for some people.
Blank lines are almost free to code < s >. And even there I bet there are some who view this as "wasted space/keystrokes", forcing them to prematurely scroll and stuff like that.

Basically, I take other people's code as it is and try to work with it, to the point of trying to conform to their style regardless of my 'standards'. So I may not be as 'fixed' in this as I sound < s >

cheers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform