On 7/19/2012 6:47 PM, Ben Pfaff wrote:
> Jase Schick <> writes:
>
>> Hi Does C still need unsigned types? My preferred language Java manages
>> perfectly well without them. Do many people ever use unsigned types
>> nowadays and if so why? In a 64-bit world, the extra range is rarely
>> worth the hastle it seems to me.
>
> Many quantities are naturally unsigned; for example, counts and
> sizes. These quantities are most naturally modeled with unsigned
> types.
Indeed. If you use a singed type to hold an inherently
unsinged value, you're playing with fire.
--
Eric Sosman
d