Newsgroups: comp.edu,comp.lang.ada,comp.lang.c++,comp.lang.modula2,comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!nntp.club.cc.cmu.edu!hudson.lm.com!newsfeed.pitt.edu!gatech!bloom-beacon.mit.edu!world!bobduff
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Comparison of languages for CS1 and CS2
Message-ID: <DBHzHn.BEy@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
References: <3srsn5$q8d@galaxy.ucr.edu> <3tkt5u$3vk@felix.seas.gwu.edu> <DBEwuo.8L@world.std.com> <3tmrd8$5bc@martha.utk.edu>
Date: Mon, 10 Jul 1995 11:20:11 GMT
Lines: 9
Xref: glinda.oz.cs.cmu.edu comp.edu:13139 comp.lang.ada:32344 comp.lang.c++:137535 comp.lang.modula2:11943 comp.lang.scheme:13062

In article <3tmrd8$5bc@martha.utk.edu>,
Matthew Kennel <mbk@caffeine.engr.utk.edu> wrote:
>Perhaps 'out' and 'inout' should have been defined as meaning
>"copy out" and "copy-in-copy-out" semantics, instead of reference.

The reason it wasn't was for efficiency.  It's vastly more efficient to
pass big things by reference, in most cases.

- Bob
