Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming conventions for custom methods?
Message
 
 
To
16/11/2008 23:12:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01362229
Message ID:
01362232
Views:
28
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform