News for hackers. Stuff that matters.
Re:Metaprogramming: An Introduction to JavaScript (ES6) Proxy by quelltext on Thursday June 13, 2019 @06:40AM (#20173431)
I wouldn't exactly call Proxies metaprogramming. It's not wrong but it's just not the best example of what metaprogramming is.
Re:Metaprogramming: An Introduction to JavaScript (ES6) Proxy by atapas on Sunday June 16, 2019 @01:59AM (#20194062)
If I understood correctly, The Reflection part of the Metaprogramming can be broken further into multiple parts like, - Introspection: Code is able to inspect itself - Self-Modification - Intercession: Acting behalf of somebody else

To me, Proxy is more into the category of 'Intercession', isn't it?

Re:Metaprogramming: An Introduction to JavaScript (ES6) Proxy by yvdriess on Thursday June 13, 2019 @08:02AM (#20173899)
Proxies trace back their origin in mirrors/mirages in metaprogramming for OO languages. (shoutout to AmbientTalk) It's a very Smalltalk way of doing reflection and intersection.

Do you mean that it lacks syntactic abstractions to be called metaprogramming?

Re:Metaprogramming: An Introduction to JavaScript (ES6) Proxy by quelltext on Tuesday June 18, 2019 @07:10AM (#20211685)
The author mentioned that metaprogramming is treating "code as data" which Proxies themselves don't really do.