Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Names for methods
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01406109
Message ID:
01407231
Views:
41
>>I like to use populate in this cases, and I think I would separate the work for each list
>>
>>populateSource()
>>populateDestination()
>>getSourceItems()
>>getDestinationItems()
>
>+ 2 more methods Populate() and GetItems() since these methods will call generic method with object reference?
>
>Sounds interesting, may be I should re-design. (In the meantime I just finished adding new methods as Boris proposed) but haven't coded them yet.
>
>Let's see what Boris think - I like your idea better, actually.


You mean something like:
procedure Populate()
	this.populateSource()
	this.populateDestination()
endproc
?

I agree with Populate, but I would not have a generic method to get items from both lists.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform