>> Had a thought on this that I want to share. Beginning with VFP 6.0,
>> validating data for objects became a whole lot easier with the _Access
>> and _Assign events. Combined with the bitwise functions, it makes
>> checking for a large number of properties a snap. The following is from
>> my own work.
>>
>
>george -
>
>you know, you make a very good point there. the stuff i wrote about
>having a validation section at the beginning of a subprogram, was
>written when i was in my 'structured-programming-frame-of-mind'.
>when i am in my 'object-oriented-frame-of-mind' i realize that by
>design, an good reason for using assignor methods for an object, is
>that that is a good place to do your validation!!!
>
>i guess when some of my form methods get larger, i relapse back into
>my structured-programming-frame-of-mind and treat that code like a
>microcosm.
First, thanks. Second, both OOP and structured programming share the same goals and utilize many of the same techniques (cohesion, coupling) to achieve them.
George
Ubi caritas et amor, deus ibi est