Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Are you sure, Mr. Gosling? Date: Sun, 5 Jun 2016 12:54:40 +0200 Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: individual.net 99fwlGUUVbQUIvgQypawtgXQX1pev5ATKE/JIbGlTRmuCa4vU= Cancel-Lock: sha1:Yxv0xAJhT/Scz45gM+HlD2hY6x4= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 In-Reply-To: Xref: csiph.com comp.lang.java.programmer:34476 On 04.06.2016 20:01, Stefan Ram wrote: > There is this famous book =C2=BBThe Java Programming Language, > Fourth Edition=C2=AB by James Gosling et al. > > In it, it is written about the =C2=BBidiom of copy constructor=C2=AB= : > > =C2=BBThis idiom is not used much within the Java class > libraries, because the preferred way to make a direct > copy of an object is by using the clone method.=C2=AB > > Are you sure about this, Mr. Gosling? And, what did he reply? robert --=20 remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/