home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / cplus / 18175 < prev    next >
Encoding:
Internet Message Format  |  1992-12-20  |  1.5 KB

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