"Syntax for Efficient Traits" is now ready for discussion (was: Classes as Sugar is...)

P T Withington ptw at pobox.com
Tue Sep 14 04:47:21 PDT 2010

On 2010-09-14, at 04:56, Tom Van Cutsem wrote:

> If we want to stick to reserved keywords, "implements" seems the most
> appropriate (although this similarly confuses trait composition with
> interface implementation).

Alternatively, you could repurpose the (now disparaged) `with` keyword.  That's what OpenLaszlo uses for its paint:

  class sundae extends icecream with jimmies, chocolatesauce, cherry implements dessert;

More information about the es-discuss mailing list