Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.programmer Subject: Re: Enums: Properties vs. Methods Date: Wed, 30 Mar 2011 20:43:19 +0200 Organization: A noiseless patient Spider Lines: 32 Message-ID: References: <2f38bb8e-9a8d-4464-ad3d-b9ce0b557219@e21g2000yqe.googlegroups.com> <62c4ad74-a183-48cd-8597-9f347db19097@2g2000vbl.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 30 Mar 2011 18:43:16 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="Pd3ntpyKfq0EKoQN5hnlyw"; logging-data="8532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bnxwWaggPRl8lqQEaMoxZ" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <62c4ad74-a183-48cd-8597-9f347db19097@2g2000vbl.googlegroups.com> Cancel-Lock: sha1:iZ+O1AXIEpACKCFBFzpvCRbcN8M= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2603 On 30/03/2011 19:33, Lew allegedly wrote: > On Mar 30, 12:40 pm, Daniele Futtorovic net.invalid> wrote: >> On 30/03/2011 01:05, Lew allegedly wrote: >> >>> Daniele Futtorovic wrote: >>>> For all purposes, yeah. I would however expect the one with the >>>> constant to be >>>> marginally easier, as it requires no analysis of the field. >> >>> Which of the two are you calling "the one with the constant"? >> >> The same as you when you said: >> "One returns a constant, the other a constant variable" >> > > You completely missed my point, which is that BOTH are constants. If I were so inclined, I would argue that no, in the first case "constant" is a noun, in the second an adjective, and that in the clear-cut language of the JLS the noun 'constant' has a stringent definition and the adjective 'constant', in the context of variables, too, but that these definitions don't match. But I won't, because I consider this whole issue a complete waste of time, and only had responded to correct my inaccuracies, not to drive any point. -- DF. An escaped convict once said to me: "Alcatraz is the place to be"