Yes, they had to choose : ) But, do you know what is dumb? The sum of 2 byte vars always returns an integer :S...probably because it convert to int before the sum, but it could return a byte anyway :S
Adriano Crestani On Apr 27, 5:34 pm, "Ahmet A. Akin" <[EMAIL PROTECTED]> wrote: > i think it would be cool if byte type would be unsigned only. but you > are right, they had to make a choice. > > 2008/4/27 Romain Guy <[EMAIL PROTECTED]>: > > > > > How is that dumb? It's just a choice and most of the time it's perfectly > > fine. > > > On Sun, Apr 27, 2008 at 3:08 PM, David Given <[EMAIL PROTECTED]> wrote: > > > Romain Guy wrote: > > >>> All Java types are unsigned (except char). Yes, that's dumb. > > > >> No, all Java types are *signed* except char. > > > > D'oh! Indeed so. I seem to have missed a ! from the beginning of that > > > statement. > > > > It's still dumb, though. > > > > -- > > > ┌─── dg@cowlark.com ─────http://www.cowlark.com───── > > > │ "I have always wished for my computer to be as easy to use as my > > > │ telephone; my wish has come true because I can no longer figure out > > > │ how to use my telephone." --- Bjarne Stroustrup > > > -- > > Romain Guy > > www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

