Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #15085
| From | Lew <noone@lewscanon.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: case strings |
| Date | 2012-06-06 00:15 -0700 |
| Organization | albasani.net |
| Message-ID | <jqn02e$lk4$1@news.albasani.net> (permalink) |
| References | <robns7d4t1tn9g0q8i1g0rph1g36cnk7ko@4ax.com> <o2jps7t44ui9adpocgptdsrun43qgaalus@4ax.com> <jqikbn$v8l$1@dont-email.me> |
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