home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object
- 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
- From: clamen+@CS.CMU.EDU (Stewart Clamen)
- Subject: Re: objects and closures
- In-Reply-To: knight@mrco.carleton.ca's message of 5 Nov 92 15:15:13 GMT
- Message-ID: <BxA1sE.M0D.1@cs.cmu.edu>
- Originator: clamen@BYRON.SP.CS.CMU.EDU
- Sender: news@cs.cmu.edu (Usenet News System)
- Nntp-Posting-Host: byron.sp.cs.cmu.edu
- Reply-To: clamen+@CS.CMU.EDU
- Organization: School of Computer Science, Carnegie Mellon University
- References: <1992Oct27.205320.13271@twg.com>
- <9210302223.AA11001@cs.columbia.edu> <720756315@sheol.UUCP>
- <Bx5DFt.7z3@dcs.ed.ac.uk> <knight.720976513@cunews>
- Date: Fri, 6 Nov 1992 04:29:01 GMT
- Lines: 28
-
- In article <knight.720976513@cunews> knight@mrco.carleton.ca (Alan Knight) writes:
-
- In <Bx5DFt.7z3@dcs.ed.ac.uk> pdc@dcs.ed.ac.uk (Paul Crowley) writes:
-
- >I think this is an excellent and thought-provoking analogy. Objects
- >are closures you can keep track of in your head. This is why I'm not
- >clear why you'd want ML-style closures and higher-orderness in an
- >object oriented language; it seems contrary to the style of OO
- >programming.
-
- I don't think it's contrary the spirit of OO programming. I'm fond of
- closures and higher-orderness in general, regardless of whether the
- language is OO. Smalltalk certainly makes very extensive use of them,
- and is usally considered OO.
-
- Scheme, which introduced closures to a lisp-like language, was devised
- by Steele and Sussman to implement some of the ideas of Hewitt that
- eventually led to Actors. The relationship between closures and
- object-orientedness is historical.
-
-
-
- --
- Stewart M. Clamen Internet: clamen@cs.cmu.edu
- School of Computer Science UUCP: uunet!"clamen@cs.cmu.edu"
- Carnegie Mellon University Phone: +1 412 268 2145
- 5000 Forbes Avenue Fax: +1 412 268 5739
- Pittsburgh, PA 15213-3891, USA
-