home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / object / 4149 < prev    next >
Encoding:
Text File  |  1992-11-06  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!europa.asd.contel.com!emory!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!netnews.srv.cs.cmu.edu!clamen
  3. From: clamen+@CS.CMU.EDU (Stewart Clamen)
  4. Subject: Re: objects and closures
  5. In-Reply-To: knight@mrco.carleton.ca's message of 5 Nov 92 15:15:13 GMT
  6. Message-ID: <BxA1sE.M0D.1@cs.cmu.edu>
  7. Originator: clamen@BYRON.SP.CS.CMU.EDU
  8. Sender: news@cs.cmu.edu (Usenet News System)
  9. Nntp-Posting-Host: byron.sp.cs.cmu.edu
  10. Reply-To: clamen+@CS.CMU.EDU
  11. Organization: School of Computer Science, Carnegie Mellon University
  12. References: <1992Oct27.205320.13271@twg.com>
  13.     <9210302223.AA11001@cs.columbia.edu> <720756315@sheol.UUCP>
  14.     <Bx5DFt.7z3@dcs.ed.ac.uk> <knight.720976513@cunews>
  15. Date: Fri, 6 Nov 1992 04:29:01 GMT
  16. Lines: 28
  17.  
  18. In article <knight.720976513@cunews> knight@mrco.carleton.ca (Alan Knight) writes:
  19.  
  20.    In <Bx5DFt.7z3@dcs.ed.ac.uk> pdc@dcs.ed.ac.uk (Paul Crowley) writes:
  21.  
  22.    >I think this is an excellent and thought-provoking analogy.  Objects
  23.    >are closures you can keep track of in your head.  This is why I'm not
  24.    >clear why you'd want ML-style closures and higher-orderness in an
  25.    >object oriented language; it seems contrary to the style of OO
  26.    >programming.  
  27.  
  28.    I don't think it's contrary the spirit of OO programming. I'm fond of
  29.    closures and higher-orderness in general, regardless of whether the
  30.    language is OO. Smalltalk certainly makes very extensive use of them,
  31.    and is usally considered OO.
  32.  
  33. Scheme, which introduced closures to a lisp-like language, was devised
  34. by Steele and Sussman to implement some of the ideas of Hewitt that
  35. eventually led to Actors.  The relationship between closures and
  36. object-orientedness is historical.
  37.  
  38.  
  39.  
  40. --
  41. Stewart M. Clamen            Internet:    clamen@cs.cmu.edu
  42. School of Computer Science        UUCP:          uunet!"clamen@cs.cmu.edu"
  43. Carnegie Mellon University        Phone:          +1 412 268 2145
  44. 5000 Forbes Avenue            Fax:         +1 412 268 5739
  45. Pittsburgh, PA 15213-3891, USA
  46.