Property vs Behavior inheritance

Axel Rauschmayer axel at rauschma.de
Fri Dec 16 10:40:05 PST 2011


> I would argue that your quest can be fulfilled by class declarations that desugar to object exemplars. Do you agree?
> 
> Assuming that your class declarations resemble say Java's, then of course. But if we have class declarations like Java's why do we care about object exemplars?


Because a class declaration will desugar to something. And desugaring to an object exemplar is more elegant than desugaring to a function exemplar.

-- 
Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111216/ed14b700/attachment.html>


More information about the es-discuss mailing list