+1 

Doru


On 31 Mar 2011, at 18:31, Stéphane Ducasse wrote:

> 
> On Mar 31, 2011, at 2:14 PM, Fernando Olivero wrote:
> 
>> Model
>> TextModel
>>  Workspace
>>  PluggableTextModel
>> TextProvider
>>  CodeProvider
>>     Browser
>>     HierarchyBrowser
>>     Debugger
>>     Inspector
> 
> 
> Why this hierarchy is wrong?
> 
> Wheel 
>    Car
> 
> We do not like that Car inherits from Wheel?
> We prefer to say
> 
>       Car 
>               has Weels
> 
> 
> So 
>       BrowserModel inherits from Model but not from TextModel
>       BrowserModel 
>               has a textModel et other stuff
> 
> 
>       A BrowserModel should not inherit from CodeProvider
>       it has a code provider.
> 
> Let us kill this StringHolder crap and be in 2010.
> 
> Stef 
> 

--
www.tudorgirba.com

"From an abstract enough point of view, any two things are similar."




Reply via email to