On Wed, Jun 10, 2015 at 11:46 AM, Domenic Denicola <[email protected]> wrote:
> Regardless of whether or not you agree, that was the original motivation > for its introduction. > https://twitter.com/awbjs/status/535962895532584960 says: > ES6 final tweaks #8: Smalltalk-like species pattern used in Array methods, > etc. to determine constructor for derived objects. https://esdiscuss.org/notes/2014-11-18 discusses species in the context of `Array.prototype` methods. And https://esdiscuss.org/notes/2014-11-19 says: > Allen Wirfs-Brock: Smalltalk uses an abstract above that has a species > property to determine what to create. That's all I know of it. I wasn't there, obviously, and you were. But this is the first I've ever heard of using @@species for constructor signature modification. It's hard to reconstruct reasoning from meeting notes and tweets. --scott
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

