strawman:catchalls?

ihab.awad at gmail.com ihab.awad at gmail.com
Wed Nov 19 13:03:53 PST 2008


On Wed, Nov 19, 2008 at 11:43 AM, Jeff Watkins <watkins at apple.com> wrote:
> I'd absolutely second the catchall request.

+1. Catchalls allow one to implement a generic forwarding proxy. Two
examples of usage:

1. A generic "future" object that enqueues requests sent to it,
returning a "future" for the result. Right now, Tyler Close's ref_send
library in JavaScript:

  http://waterken.sourceforge.net/bang/

requires explicitly reified message sends:

  drum_.post('bang', [ 2 ]);

whereas, with generic futures, it could simply be:

  drum_.bang(2);

2. An object whose implementation is changed at runtime. E.g. to
support schema evolution and persistence (faulting in from stable
storage upon invocation).

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA


More information about the Es-discuss mailing list