Differing implementations for a function in two interfaces

Hasan Aljudy hasan.aljudy at gmail.com
Mon Apr 17 00:49:00 PDT 2006


Ryan Steen wrote:
> In article <e1vci0$1luu$1 at digitaldaemon.com>, Lionello Lunesu says...
> 
>>They are completely unrelated.
>>Now what? Redesign the whole app and make multiple classes?
> 
> 
> Yes. Such design is flawed: to implement two completely unrelated interfaces in
> one single class.
> 
> 

Yeah, if you implement completely unrelated interfaces in one class .. 
you only have yourself to blame.



More information about the Digitalmars-d-learn mailing list