Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #15085
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Lew <noone@lewscanon.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: case strings |
| Date | Wed, 06 Jun 2012 00:15:34 -0700 |
| Organization | albasani.net |
| Lines | 27 |
| Message-ID | <jqn02e$lk4$1@news.albasani.net> (permalink) |
| References | <robns7d4t1tn9g0q8i1g0rph1g36cnk7ko@4ax.com> <o2jps7t44ui9adpocgptdsrun43qgaalus@4ax.com> <jqikbn$v8l$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.albasani.net fVznOWwBpIzcIrhihSJwQ5g1tLJiKcpgKCtOx+e2yl6wP4VlhHBw9iCVWLZtXpjIakBzlxB08N47Ique+uGkHxBUf6LD8lGIC+439pzfPcSDQipjcSE1jheJ7lkTX5CK |
| NNTP-Posting-Date | Wed, 6 Jun 2012 07:15:26 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="lf41PmF6Z0VfSiBRU5NMAdoQot1ly2UGsAO0VmYMEWj0Q22rG1Vgs+kdbsZiBrHEvLy9KaKzp8Gqk8RvLGq+La0OhBtgAHfAfQ7nB3eXjU3+TEVcaf2kPfaM6uGaj6fl"; mail-complaints-to="abuse@albasani.net" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
| In-Reply-To | <jqikbn$v8l$1@dont-email.me> |
| Cancel-Lock | sha1:LrmNUSam0+fMOt1jPy1OYGKdhfU= |
| Xref | csiph.com comp.lang.java.programmer:15085 |
Show key headers only | View raw
Joshua Cranmer wrote: > Roedy Green wrote: >>> has anyone benchmarked or decompiled to see how the new case string >>> labels are compiled. >> >> I gather this was the confusing sentence. What should I have called >> the feature? > > Using switch with Strings? Strings in switch is the Project Coin name. Also, string case labels. The JLS calls them "switch labels", "case constants" and "case labels".(ยง14.11) (Case constants actually are only the constants within the case label, but that still pertains to Roedy's question.) So do the programmers who implemented these constructs for Java. But I had no trouble understanding that Roedy meant "string case labels" for "case string labels". The mere word transposition seemed like a typo. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-03 11:40 -0700
Re: case strings Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-06-03 13:37 -0700
Re: case strings markspace <-@.> - 2012-06-03 19:19 -0700
Re: case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-04 07:53 -0700
Re: case strings Lew <noone@lewscanon.com> - 2012-06-05 23:53 -0700
Re: case strings Roedy Green <see_website@mindprod.com.invalid> - 2012-06-04 07:57 -0700
Re: case strings "Mike Schilling" <mscottschilling@hotmail.com> - 2012-06-04 08:18 -0700
Re: case strings Joshua Cranmer <Pidgeot18@verizon.invalid> - 2012-06-04 11:30 -0400
Re: case strings Lew <noone@lewscanon.com> - 2012-06-06 00:15 -0700
csiph-web