Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Andreas Leitgeb Newsgroups: comp.lang.java.programmer Subject: Re: underscore as keyword in Java 9 Date: Mon, 25 Sep 2017 13:30:08 -0000 (UTC) Organization: A noiseless patient Spider Lines: 22 Message-ID: References: Reply-To: avl@logic.at Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 25 Sep 2017 13:30:08 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="8b4c51847cccbd9710fbe8ef734ece02"; logging-data="32014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dyjrxZQZZi+C+vl2L9F3I" User-Agent: slrn/1.0.2 (Linux) Cancel-Lock: sha1:QDnIJ9lXYdujpsszUj97u90nzM0= Xref: csiph.com comp.lang.java.programmer:37464 Arne Vajhøj wrote: > On 9/24/2017 7:27 PM, Andreas Leitgeb wrote: >> But then again, the prognose about future meaning of "_" might be >> entirely off, and "_" might get to mean something completely different >> lateron - only then it would become clear, why "_" was illegalized >> even for cases like case 2 above. > Even if the prognosis is almost on and the future meaning > would be almost the same as expected now, then there could > still be some subtle differences. > I think it would be risky to try and base warnings > on something expected. These "expectations" are all mine, and I add one more expectation to my list, namely that *they* (the Java designers) themselves have more solid ground for their work than just my vague expectations. So, I'd see two possibilities: a) they have intentions for "_" that are really incompatible with any current use of "_" as identifier (or pseudio-identifier not further used), or b) they did a questionable job. Based on what awesome work they've done so far, I'd rather bet on a).