July 4, 2013
12:34 p.m.
On 2013-07-04, at 14:29, Frank Shearar <frank.shearar@gmail.com> wrote:
On 4 July 2013 13:15, Sebastian Tleye <stleye@gmail.com> wrote:
Congrats!! This opens more doors to me since i we can have stateful traits now :)
Do you mean it makes implementing stateful traits _much easier_, or _possible at all_? I'd be curious to know why, if the latter.
Having first class slots means being able to implement triggers (and hence data flow type stuff), so I can see why it'd make it easier.
Stateful traits already have been successfully implemented using slots + first class layouts, you can have a look at the implementation in the slot paper: http://rmod.lille.inria.fr/archives/papers/Verw11a-OOSPLA11-FlexibleObjectLa...