[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More on dispatching by function return type
At 5:05 PM -0500 12/16/03, Ken Shan wrote:
>In the end, I don't think any amount of CPS-conversion will make
>dispatching on the (return) type of functions seem any less weird (or,
>for that matter, more weird) to people.
I'm not sure CPS really has anything to do with it. CPS deals
entirely with dispatching to and returning from (not that there's
much difference) a function. Using the return type as part of the
signature to determine which function to dispatch to seems orthogonal
to how the dispatching actually happens.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk