Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!polyslo!ttwang From: ttwang@polyslo.CalPoly.EDU (Thomas Wang) Newsgroups: comp.object Subject: Re: Continuations Message-ID: <1989Nov30.235448.13154@polyslo.CalPoly.EDU> Date: 30 Nov 89 23:54:48 GMT Reply-To: ttwang@polyslo.CalPoly.EDU (Thomas Wang) Distribution: usa Organization: Cal Poly State University -- San Luis Obispo Lines: 24 My nitpick with continuations is that it does not fit the model of object programming. Continuations saves the function context to be able to continue the function at a later time. The information is tied to the function activation record. The object programming style on the other hand suggest that important data structures should be tied to the object, not the function. The need for continuations should be lessened if one has some light weight process implementations at hand. Actually I am still wondering about how one is supposed to build a general pupose iterator in a OO language. One can always have Ad Hoc iterators, but a consistent iterator interface I suspect would be hard to do. -Thomas Wang (Mak-Kuro Kurosuke, come on out! If you don't come out, we'll pull your eyeballs out! - as heard in Tonari No Totoro ) ttwang@polyslo.calpoly.edu Brought to you by Super Global Mega Corp .com