Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming conventions for custom methods?
Message
 
 
À
16/11/2008 23:12:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01362229
Message ID:
01362232
Vues:
26
>>Matt -- Did I miss something here? I don't see a question.
>
>The quesion should have ended in a '?', but didn't sorry.. Here is the Q:
>
>
>Now then, is it also common to use those same prefixes when naming custom Methods that return known types?
>
>
>
No, it is not a common practice. The method name should describe what method does, not exactly what method returns. However, for the example above you may name this method

IsSomeObject
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform