Em 06/04/2011 09:07, Igor Stasenko <[email protected]> escreveu:
> > On 6 April 2011 13:54, Fernando Olivero <[email protected]>
wrote:
> > Hi Stef, i will as an initial step take Igor's suggestion and make
> > Transcript a global wich points to an instance of TranscriptModel
> > ( the new name i propose for the current class taken from CUIS).
> > I still believe that composition is better then inheritance for
> > handling different behaviors of the Transcript, so i argue against
> > making it a subclass of WriteStream and making it polymorphic with
> > a write stream instead.
> >
> That's totally not my concern. As long as thing which sits there
> responds to writestream protocol , i don't care about rest.
>
Would it make sense then to lift the methods from {write}stream and
put then in a Trait so the composition is made through reuse of code?
My 0.0199999....
--
Cesar Rabak