Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Microsoft launches new open source codeplex foundation
Message
 
À
01/10/2009 18:07:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01424841
Message ID:
01427212
Vues:
69
>>No, don't do it! Don't mention Hungarian Notation. Another royally bad idea!
>
>Don't do what? I agree that Hungarian notation is a bad idea but where have you been when I was defending the idea that it was bad:)
>
>What I meant don't you use Camel/Pascal casing in VFP too., be it Hungarian or not. At least I do it.
>
>Cetin

Hey, I think I may have chimed in on at least one of those threads to support you. <g> That's probably one of those good ideas I seem to remember you having around here. <g>

My methods/variables would be like this:

TotalCount (a variable)
AcctNum (a variable)

No m. -- I dropped that a long time ago.

CalcSqYds (a method)

Sometimes my method names will get quite long:

AdjustSampleRcptNotification, SetTestCodeMultiSampleStatus, probably I have some longer ones. Maybe we should have a contest for the longest method name. I might be in the top five. <g>

However, with field names I have been inconsistent. Sometimes I might write it as Cust_Name and other times cust_name. But this is a minor thing to me. I strive for more consistency with that these days, but as far as good code goes, I think that is very low on the list of issues, if it's there at all. There are many, many more imporant things on the list above this issue that make for good code (or not).
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform