Is ES3 good enough? Was incrementally strengthening ES3 paradigms considered?

P T Withington ptw at pobox.com
Wed Nov 14 09:00:00 PST 2007


On 2007-11-14, at 00:35 EST, Brendan Eich wrote:

> At this point cue Alex Russell to argue for something I proposed
> earlier, but didn't push hard enough: optional method bodies for
> interfaces, for generic programming and default implementation code-
> sharing.

Actually, I think that was me.  The thread is titled "Interfaces  
without implementation are like a day without sunshine".  Eventually,  
Dave Herman convinced me that what I wanted was properly called  
`mixin`, not `trait`, and not `interface`.  The OpenLaszlo Compiler/ 
Framework supports `mixin` as a 'power tool' -- we acknowledge that  
they are dangerous if mis-used.



More information about the Es4-discuss mailing list