Prototypes as the new class declaration

Irakli Gozalishvili rfobic at gmail.com
Mon Jun 20 02:57:42 PDT 2011




On Friday, 2011-06-17 at 16:52 , Allen Wirfs-Brock wrote:

> 
> On Jun 17, 2011, at 5:14 AM, Irakli Gozalishvili wrote:
> > I really like this direction, I think it much better feet for JS than a class sugar!
> > 
> > I also experimented something similar not a long time ago as a library: https://github.com/Gozala/selfish/blob/master/selfish.js
> > Also as an extension to the Built-ins: https://gist.github.com/d33befccbe1e0ed492d5
> > 
> Thanks, this is really useful. I had expected the the inability to rationalize this approach with the existing built-in constructors/prototypes would be stake through its heart. Your work suggests that it might actually be possible to do a reasonable integration of the two approaches. I'll put some additional work into it.
> 
> Allen 


Great, looking forward to see it! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110620/d9a62e76/attachment.html>


More information about the es-discuss mailing list