Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: no more primitive data types in Java (JDK 10+). What do you think? Date: Fri, 20 Apr 2012 16:45:57 -0700 (PDT) Organization: http://groups.google.com Lines: 38 Message-ID: <14999630.1083.1334965557983.JavaMail.geo-discussion-forums@pbbpu2> References: <9uc3p7lbqs1e8cdpmakv231vegfi1tf6pg@4ax.com> <19103667.4.1334951684324.JavaMail.geo-discussion-forums@pbrh4> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1334965558 18286 127.0.0.1 (20 Apr 2012 23:45:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Apr 2012 23:45:58 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Received-Bytes: 2683 Xref: csiph.com comp.lang.java.programmer:13725 glen herrmannsfeldt wrote but callously failed to attribute his citations: > Lew wrote: > (snip) >>>>Class 6 Extends 14 {} <=3D=3D=3D Tsukino Usagi wrote >>> abstract class Peano { } <=3D=3D=3D rossum wrote=20 >>> class 0 extends Peano { } >=20 > (snip) >> And that's relevant because ... ? >=20 >> Do you think they'll suddenly allow leading digits in class=20 >> identifiers for Java code? I think not. >=20 > As I remember, all unicode [sic] letters are allowed. There are plenty As I looked up in the JLS, that's not true. Leading digits are not permitte= d. "An identifier is an unlimited-length sequence of Java letters and Java dig= its, the first of which must be a Java letter." The JLS trumps your memory. > that could be confusing to readers. Maybe there aren't any that > look like roman digits, though. There are many that look like, > but aren't the same character as, roman alphabet letters. But those characters are not used to represent integers, so are not germane= to this conversation. The question at hand was the potential legitimization of glyphs that repres= ent integers to be used as class names that inherit from other classes. Tho= se glyphs are not currently allowed to be leading characters of identifiers= , so unless that changes, rossum's construct will never be legal. --=20 Lew