News for hackers. Stuff that matters.
Re:Meta-programming JavaScript Using Proxies by benihana on Thursday February 05, 2015 @08:58AM (#9003231)
This article was initially baffling to me. There's no link to the API or libraries, or functions or whatever the hell the author is talking about, so since I'm not following all this stuff closely, I don't know if this is a proposed change to JavaScript or an external library or what.

So then I go here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... and realize that it's an experimental proprosal for ES6, which means it's going to be a while before I can even think about using this. Then I realize the MDN article actually explained proxies and what they're designed for way better than this article (they're meant as a functional hook when manipulating properties on an object). It has useful, non-contrived examples that illustrate better than this article why you'd want this in the spec.

Re:Meta-programming JavaScript Using Proxies by domenicd on Thursday February 05, 2015 @02:20PM (#9005269)
It's not an experimental proposal for ES6, it's part of ES6, which is now finalized as of our most recent TC39 meeting last week. (There will only be editorial fixes going forward.)

Regardless, it doesn't matter what language version it's in. What matters is that it's already implemented in Firefox and the IE previews.