I wish we saw more people hacking wildly on JavaScript proxies. Subtly quietly doing multiple-dispatch without most folks being much the wiser is so imminently within possibility in JS since 2016[1]. There's some really nice uses (Svelte) but I think in general our ambition to hack the JS runtime with proxies, to build cool meta-object-protocols, has been way way way way undermatched versus the potential about here.
This sounds enticing! I use multiple dispatch in JS but I wrote my own library for it. Could you give an example of how one would use proxies to do multiple dispatch?
I wish we saw more people hacking wildly on JavaScript proxies. Subtly quietly doing multiple-dispatch without most folks being much the wiser is so imminently within possibility in JS since 2016[1]. There's some really nice uses (Svelte) but I think in general our ambition to hack the JS runtime with proxies, to build cool meta-object-protocols, has been way way way way undermatched versus the potential about here.
[1] https://caniuse.com/?search=Proxy
This sounds enticing! I use multiple dispatch in JS but I wrote my own library for it. Could you give an example of how one would use proxies to do multiple dispatch?