Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: 4ndre4 <626401fd-4bc7-4f8f-b641-563ae0f72920@626401fd-4bc7-4f8f-b641-563ae0f72920.invalid> Newsgroups: comp.lang.java.programmer Subject: Re: double == double Date: Mon, 17 Oct 2016 20:17:01 +0100 Organization: A noiseless patient Spider Lines: 11 Message-ID: References: <8737k0qd38.fsf@golem.phantasia.org> <87zim5es30.fsf@golem.phantasia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 17 Oct 2016 19:16:45 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="1ea135709dba7cad19ecf1e448ead2d9"; logging-data="26086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bTA8tuBAma0oQBXawxmoH" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: Cancel-Lock: sha1:aK6YzMHDPZTQOIkK1YRS+QT/FzI= Xref: csiph.com comp.lang.java.programmer:35803 On 17/10/2016 18:04, Patrick Roemer wrote: > Doubles are not objects in Java, which may be considered a flaw in the > language itself from an OO point of view, so it's a bit problematic to > use them in a discussion of good OO design. Well, replace double with Double in my example. It won't change the conclusions. -- 4ndre4