Xref: utzoo comp.object:508 comp.lang.c++:5681 Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!odi!dlw From: dlw@odi.com (Dan Weinreb) Newsgroups: comp.object,comp.lang.c++ Subject: Re: Continuations Message-ID: <1989Nov28.183816.15252@odi.com> Date: 28 Nov 89 18:38:16 GMT References: <2664@bingvaxu.cc.binghamton.edu> <9624@pyr.gatech.EDU> <1623@odin.SGI.COM> Reply-To: dlw@odi.com Organization: Object Design, Inc. Lines: 14 In-Reply-To: shap@delrey.sgi.com's message of 27 Nov 89 16:34:59 GMT In article <1623@odin.SGI.COM> shap@delrey.sgi.com (Jonathan Shapiro) writes: I do not believe that it is feasible to add continuations to C++ for any number of reasons, but I would be interested to hear the reactions in this community regarding their utility in object-oriented programming. They are just as useful in object-oriented programming as in straight Lisp or Scheme. However, continuations in the Scheme style are only useful if full support is provided for lexical scoping. C and C++ have no lexical scoping whatsoever. So I agree that it is not feasible to add them to C++. Even lexical scoping alone, with or without continuations, would be a great benefit, but I'm sure I'll never see it in C or C++. Brought to you by Super Global Mega Corp .com