Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Standards
Message
De
01/10/2003 19:54:41
 
 
À
01/10/2003 13:31:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COMCodebook
Titre:
Divers
Thread ID:
00832733
Message ID:
00834038
Vues:
47
>Hi,
>
>MUCH SNIPPING...
>
>I work on an app that took over 10 years to reach majurity. I am the 4th or 5th developer to work on it. It is an FPD26 app that is being converted over to VFP8 now. I have had to add variable declarations in the middle of over a thousand of them. I cannot imagine realigning that many pages of them for one single variable. I came as visually close as possible in a reasonable amount of time.

You're excused :). As for me, I keep variables together only if it's practical and/or if they are related. Like:
lnMyNum    = 12
lcMyString = "ABCD"
lnCounter  = 0

lnHisTelNumber = 12
lcHisString    = "ABCD"
lnHisCounter   = 0
Realigning 1000 variables (1000?? whow) is surely not what I expect someone else or myself to do. One has to remain practical.


>>A professional developer must realize that there are, or may be, other developers who have to deal with the code now, or in the future. A personal standard is just not good enough!
>
>I agree, but the next IT manager or lead developer that comes tomorrow could change the standards for the future and it could all 'go to pot' anyway.

I totally understand the dilemma.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform