6 ms·
Proxy is nice but the scope is very limited if you tend to avoid metaprogramming. One use I've found is for library maintainers - a way to expose a large API w
by colept 8y ago
Proxy is nice but the scope is very limited if you tend to avoid metaprogramming.
One use I've found is for library maintainers - a way to expose a large API without taking a hit for requiring the whole thing. We use it to consume parts of that API without having to require all the dependencies and subdependencies.