Ed Leafe wrote:

> On Dec 19, 2007, at 4:32 PM, Bill Anderson wrote:
> 
>> In my mindset, those two controls should be in a container (VFP  
>> speak) and
>> communication directed to the container, then subclass the  
>> container as need
>> be.
>>
>> As you indicate, this can be considered overkill.
>>
>> Nevertheless, that's how I'd do it.
> 
>       Keep in mind, though, that the purpose of communicating through a  
> "common" reference (mediator pattern) is to avoid tightly coupling  
> the objects. But if you are designing a custom class, the objects are  
> by definition pretty tightly coupled, so using a mediator really is  
> superfluous.

I say, do it the way that feels right, and get it working as fast as 
possible. Then, refactor to make it right.

Make it work, then make it right. Then, make it fast, but that's a 
different topic altogether.

Paul

-- 
http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to