home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!uka!news!hf
- From: hf@tk.telematik.informatik.uni-karlsruhe.de (Harald Fuchs)
- Newsgroups: comp.lang.c++
- Subject: Re: Give me safe C++
- Date: 18 Dec 92 11:59:42
- Organization: Karlsruhe University, Germany
- Lines: 19
- Message-ID: <HF.92Dec18115942@whyaduck.tk.telematik.informatik.uni-karlsruhe.de>
- References: <Bz2nDF.7B6@fiu.edu> <1992Dec12.145403.26483@ucc.su.OZ.AU>
- <1992Dec14.190553.14838@mole-end.matawan.nj.us>
- <1992Dec17.192301.23525@ucc.su.OZ.AU>
- NNTP-Posting-Host: whyaduck.telematik.informatik.uni-karlsruhe.de
- In-reply-to: maxtal@extro.ucc.su.OZ.AU's message of Thu, 17 Dec 1992 19:23:01 GMT
-
- In article <1992Dec17.192301.23525@ucc.su.OZ.AU>, maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
- > Anyone else for nested functions? Against?
-
- I agree that they are sometimes quite handy, but I've never missed
- them. In the old days when I was a Modula-2 addict, I used them most
- of the time in a situation where I needed a function call in a
- specific context (which in turn can be expressed as a kind of
- "state"), and this is exactly what objects are for.
-
- > (I admit I dont know how to devise a coroutine
- > construct in a language, except for the simple case of
- > filters. But I cant be an expert at everything can I :-)
-
- As long as we can tweak the existing language until it gives us some
- limited coroutine support, e.g. via setjmp/longjmp, I don't see a
- pressing need to extend it.
- --
-
- Harald Fuchs <hf@telematik.informatik.uni-karlsruhe.de>
-