Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method names suggestion
Message
From
14/03/2013 17:39:38
 
 
To
14/03/2013 17:18:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01568344
Message ID:
01568425
Views:
51
>>>Lately I've been experimenting with a variation: RecordPositionSave() and RecordPositionRestore(). This follows a logical ( to me ) hierarchy of Object.Attribute.Action. But I'm finding the greatest benefit is this puts related methods next to each other when listed alphabetically, which makes them easier to find.
>>
>>Full ACK: I started with "ordered methods" when refactoring large methods, dividing them into smaller methods usually named
>>
>>LargeMethod
>>LargeMethod_EntryCheck
>>LargeMethod_DoOnething
>>LargeMethod_DoSomethingElse
>>
>>and so on. xxxGet and xxxSet were next from that ;-)
>
>That's exactly what prompted me to start doing this.
>
>>Java and C# translation can be machine-supported ;-)
>
>How so?

Ruleengine for renaming methods or creating wrappers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform