On Nov 28, 2014 4:12 AM, "Tom Hacohen" <tom.haco...@samsung.com> wrote:
>
> On 28/11/14 10:05, Tom Hacohen wrote:
> > On 25/11/14 21:58, Chris Marshall wrote:
> >> I would like to support perl5 roles which are also known as traits:
> >>
> >>     http://scg.unibe.ch/archive/papers/Scha03aTraits.pdf
> >>
> >> >From the positive experience with roles in perl5 modern OO
> >> developments, there is reason to believe that their support in
> >> EO might be equally useful and maybe an improvement over
> >> the mixin functionality.
> >>
> >
> > Thanks, will read into that.
> >
> > Will reply to the rest of your emails in a second.
>
> I don't see how they are different from mixins with 0 associated data.
> They just seem like a more restricted version of mixins.

The main difference is that they get composed into the class as they are
applied so there is no further MRO or inheritance.  This gives the good
parts of multiple inheritance without the pathologies.
> --
> Tom.
>
>
>
>
------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to