Path: csiph.com!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: [OT] Re: local constants with switch Date: Thu, 21 Aug 2014 14:42:31 -0400 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: <0d3ba8f9-586e-428f-9982-15b4c4da4690@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 21 Aug 2014 18:42:35 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="12473"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19q4KDrVHgW2XajVkNlStuf" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: Cancel-Lock: sha1:jF+ys/hVUmJGCPp0UWQdDll1cog= Xref: csiph.com comp.lang.java.programmer:29788 On 8/21/2014 12:52 PM, Joerg Meier wrote: > On Thu, 21 Aug 2014 13:57:33 +0000 (UTC), Andreas Leitgeb wrote: >> [...] >> PS: I agree, that "constant variable" is an oxymoron. >> A better term might have been "(constant) vari-un-able" ;-) > > Good old C went with just "constant", if I recall. "Good old C" had no such notion at all. "ANSI C" introduced `const', which doesn't mean "constant" but something closer to "read-only unless you bend the rules and risk the compiler's wrath." -- esosman@comcast-dot-net.invalid