From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,15edb893ef79e231 X-Google-Attributes: gidfac41,public X-Google-Thread: f4fd2,23202754c9ce78dd X-Google-Attributes: gidf4fd2,public X-Google-Thread: 103376,15edb893ef79e231 X-Google-Attributes: gid103376,public X-Google-Thread: 114809,15edb893ef79e231 X-Google-Attributes: gid114809,public X-Google-ArrivalTime: 2002-01-27 19:08:02 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.lisp,comp.lang.ada,comp.lang.eiffel,comp.lang.smalltalk Subject: Re: Copying semantics molehill (was Re: True faiths) Date: 27 Jan 2002 19:08:01 -0800 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0201271908.38674a0d@posting.google.com> References: <9jtu3u8cq92b05j47uat3412tok6hq NNTP-Posting-Host: 205.232.38.244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1012187282 3540 127.0.0.1 (28 Jan 2002 03:08:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 28 Jan 2002 03:08:02 GMT Xref: archiver1.google.com comp.lang.lisp:25393 comp.lang.ada:19320 comp.lang.eiffel:5527 comp.lang.smalltalk:18836 Date: 2002-01-28T03:08:02+00:00 List-Id: doylep@eecg.toronto.edu (Patrick Doyle) wrote in message news:... > I must be crazy. I have never written a system where the > semantics of the "copy" operation mattered. Mainly, this > is for two reasons: > > 1. A lot of my data is immutable, so the copying semantics are moot. > > 2. Instead of copying an existing object, my usual idiom is to create a > new one from scratch. Not crazy, but unusual. You are saying that you do not do assignments of the form a := b; where a and b are both objects and that you do not use IN OUT parameters. It is certainly possible to write code with these constraints, but definitely unusual.