Digit wrote:
[...]
> in practice, this is not so much of a problem if you don't forget that 
> you are coding in Java. more an annoyance than
> anything else, and it's pretty easy to get used to it.

Okay, 'dumb' was probably overstating the mark --- 'really annoying'
would be more accurate. I'd just spent some time trying to store 32-bit
addresses in Java ints. Trying to do unsigned comparisons when all you
have are signed operations is... entertaining.

Interestingly, this page:

http://www.devx.com/Java/Article/10686

...which talks about Oak, the language which later became known as Java,
suggests that the designers were originally planning a 'unsigned'
keyword, but never got round to it.

> at least, it's better than C's convention for "char": it may or may not 
> be signed, depending on your compiler and various options...
> now, *that* is dumb...

*nods vigorously*

-- 
David Given
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to