Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Usefulness of "final" (Was: Re: Inserting In a List) Date: Thu, 04 Apr 2013 19:44:20 +0200 Lines: 25 Message-ID: References: <19un43xj77bua.vw45l4e2wshi.dlg@40tude.net> <515cabb2$0$32111$14726298@news.sunsite.dk> <515cc192$0$32109$14726298@news.sunsite.dk> <515cc46b$0$32111$14726298@news.sunsite.dk> <515cc8e5$0$32109$14726298@news.sunsite.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net UcH9NbtGcaitNdwI8q5bkAUSdzV0ig8y40R0YN+/ex+gIMyis= Cancel-Lock: sha1:1cwaw+/Att18QhlBdKPC2Zjh9aY= User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-Antivirus: avast! (VPS 130404-0, 04.04.2013), Outbound message X-Antivirus-Status: Clean Xref: csiph.com comp.lang.java.programmer:23308 On 04.04.2013 18:47, markspace wrote: > On 4/4/2013 5:27 AM, Eric Sosman wrote: >> Perhaps the widely-held >> ideas about "immutable" are not those you share.) > > Well, if we're all using different definitions of a term, talking about > it is pretty tough. Immutability is defined correctly in the JLS, at > least for Java. I think it would be most useful to use that term. If it was I'd guess the terms "mutable" or "immutable" would surely show up in the index, but they don't - opposed to "final" which has several entries: http://docs.oracle.com/javase/specs/jls/se7/html/jls-0-index.html No, the JLS does not define "immutable" - it just mentions it. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/