Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25644

Re: Why No Supplemental Characters In Character Literals?

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Why No Supplemental Characters In Character Literals?
Date 2011-02-04 15:02 -0800
Organization Canadian Mind Products
Message-ID <s81pk61ha6ofo7ungl0celq68174gscsb7@4ax.com> (permalink)
References (2 earlier) <iig84e$uqu$1@lust.ihug.co.nz> <iigtgn$ieq$1@news.eternal-september.org> <vihok6l4j8bjpetle24j639im2buguab6m@4ax.com> <iihikc$dpj$1@news.eternal-september.org> <iihve6$v02$4@lust.ihug.co.nz>

Show all headers | View raw


On Sat, 05 Feb 2011 11:43:18 +1300, Lawrence D'Oliveiro
<ldo@geek-central.gen.new_zealand> wrote, quoted or indirectly quoted
someone who said :

>
>Why was there even a need to spell out the size of a char? If you wanted 
>types with explicit sizes, there was already byte, short, int and long.

I think because Java's designers thought on the byte code level.
There, chars are unsigned 16-bit. That they are used for chars was not
really of interest to them.  Much of Java is just a thin wrapper
around byte code. It has no high level features of its own.

-- 
Roedy Green Canadian Mind Products
http://mindprod.com
To err is human, but to really foul things up requires a computer.
~ Farmer's Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Why No Supplemental Characters In Character Literals? Roedy Green <see_website@mindprod.com.invalid> - 2011-02-04 10:36 -0800
  Re: Why No Supplemental Characters In Character Literals? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-04 18:19 -0500
  Re: Why No Supplemental Characters In Character Literals? Roedy Green <see_website@mindprod.com.invalid> - 2011-02-04 15:02 -0800
  Re: Why No Supplemental Characters In Character Literals? Arne Vajhøj <arne@vajhoej.dk> - 2011-02-04 17:54 -0500
  Re: Why No Supplemental Characters In Character Literals? Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-02-05 11:43 +1300
  Re: Why No Supplemental Characters In Character Literals? markspace <nospam@nowhere.com> - 2011-02-04 11:04 -0800

csiph-web