Benefits of continuation?

rerwig at my-deja.com rerwig at my-deja.com
Fri Nov 3 05:35:36 EST 2000


In article <ljt40tg9v67rf4iksb9p2olibo2q36iaur at 4ax.com>,
  Courageous <jkraska1 at san.rr.com> wrote:
> On Fri, 03 Nov 2000 08:00:22 GMT, rerwig at my-deja.com wrote:
>
> >I think I begin to understand the basics of continuation.
> >But what I don't understand is how it can help me to create better
> >code. In other words, what are the benefits on using continuation?
>
[snip]
>
> The real question is do you have a situation in which you need to
> keep "restore points" at various times during execution so that you
> can later go to them? If you don't, you almost certainly do not have
> any reason to use continuations directly.
>
I think this remark above is very true. Context switches was the very
first brain wave I had. Makes me wonder whether continuation actual ever
will be used directly. Indirect usage ("under-water", hidden, etc.)
seems more likely.

>


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list