Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.palinacquisition!news.posted.palinacquisition.POSTED!not-for-mail NNTP-Posting-Date: Fri, 10 Jun 2011 09:22:20 -0500 Message-ID: <4DF2289B.5030909@NnOwSlPiAnMk.com> Date: Fri, 10 Jun 2011 07:22:20 -0700 From: Peter Duniho User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer To: Stefan Ram Subject: Re: Call by Result References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Lines: 24 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 50.46.118.188 X-Trace: sv3-zLo/fibG9lWP0WlL/5g4+T2XMgg1upfBOs427vAajaQ5UOOlZd1DsS+NsEYoxneBgR+l1cw7mGYhaA5!+d50hG7yjRDaZdfVffF6Xqxo5Xi0dXEZlkbQ+AKA3GSMADcCzeOSsgGLRNhoe0IQsWpQBLMrRLdm!mLkJYF2k1BBA X-Complaints-To: abuse@iinet.com X-DMCA-Complaints-To: abuse@iinet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2310 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5182 On 6/10/11 6:47 AM, Stefan Ram wrote: > [...] > But I was able to look it up in an online encyclopedia: > > »When the reference is passed to the callee > uninitialized, this evaluation strategy may > be called "call by result".« > > http://en.wikipedia.org/wiki/Evaluation_strategy > > Did you all knew this before you answered? The reference > has to be /uninitialized/ for an evaluation strategy to be > called "call by result"! Maybe that's true technically. But the OP's code initializes the variable before calling the method. I think it's just as likely that he's not using the term precisely as defined in your reference, and that all of the answers do get to the heart of what he's _really_ asking. That is, it seems more likely that what the OP cares about is the "modify the argument, return a boolean" aspect more than he cares about the "was the argument initialized" aspect. Pete