We use traits all over the place, for example, TSortable or TAssertable, as well as many others...
> On 13 May 2015, at 18:38, Ben Coman <[email protected]> wrote: > > Weren't Traits one of things reported to make VM development harder, or was > there a fix coming for that? > cheers -ben > > On Wed, May 13, 2015 at 11:57 PM, Alain Rastoul <[email protected]> wrote: > Le 13/05/2015 16:12, Sven Van Caekenberghe a écrit : > I tried to abstract the Transcript API from the Pharo perspective in > > https://pharo.fogbugz.com/f/cases/15528/Add-TTranscript-and-DailyNonInteractiveTranscript > > If the Cuis Transcript implementation conformed to this, it could become just > a plugin replacement/alternative, next to others already present. > > A Trait for the Transcript is very good idea. > > Just a question I had browsing the ThreadsafeTranscript implemntation, I > wonder why there is no accessor to instance variables (stream accessSemaphore > etc...). > I thought the smalltalk way was to always prefer accessors, under the private > protocol if private, but discourage direct access ? > > > -- > Regards, > > Alain > > >
