General information
Category:
Object Oriented Programming
David,
1) I wasn't proposing using Get/Set methods...at least not the type that simply goes and gets a property. I see no reason for such constructs now that we have access and assign methods. My GetFileNum example just happened to start with "Get"...sorry for the confusion...
2) Yes, I am tending to agree with just using assign methods for property validation and clean-up... Otherwise there is too much triggering and making it hard to follow.
3) I see your point about properties vs. parameters. I hadn't thought about the documentation possibilities for properties. That CAN be nice (any tools out there that will dump all the property descriptions? An object documenter?). So, only pass to the Init what the object needs to start, and if possible, even make that a bare minimum. Like ADO...create the objects, and then set properties and call methods. Makes sense, and I value your opinion.
Thanks for the response!
JoeK
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only