New Ecma TC39 proposals https://github.com/rricard/proposal-immutable/ … (nice `with` reuse for functional record update, and be still my https://brendaneich.com/2011/01/harmony-of-my-dreams/ … <3) and https://github.com/pemrouz/proposal-emitter … (functional righteousness!) look great. Great work so far.
-
-
E.g. “Given an object o with a member function f, why is o.f not just a lambda?” Because of implicit this pointers, dynamic bindings, and other voodoo inherited from Smalltalk.
-
The closure pattern in JS advocated by Doug Crockford, where a constructor nests M method funexprs assigned to own properties naming the methods, gives high integrity ‘var self = this’ and ctor param lexical bindings. The cost is M * N instances, vs. M + N for prototype methods.
End of conversation
New conversation -
-
-
Bring Back Fortnite Account Merging
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.