3 ms·
I wouldn't exactly call Proxies metaprogramming. It's not wrong but it's just not the best example of what metaprogramming is.
by quelltext 7y ago
I wouldn't exactly call Proxies metaprogramming. It's not wrong but it's just not the best example of what metaprogramming is.
- yvdriess 7y agoProxies 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?
- quelltext 7y agoThe author mentioned that metaprogramming is treating "code as data" which Proxies themselves don't really do.
- atapas 7y agoIf 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?