Stewart Gordon wrote:
> Ellery Newcomer wrote:
>> On 07/06/2010 07:05 PM, Stewart Gordon wrote:
> <snip>
>>> Just using uint, of course!
>>
>> For enforcing a non-negative constraint, that is brain damaged.
>> Semantically, the two are very different.
> 
> So effectively, the edit wars would be between people thinking at cross
> purposes.
> 
> I guess it would be interesting to see how many libraries are using
> unsigned types wherever the value is semantically unsigned, and how many
> are using signed types for such values (maybe with a few exceptions when
> there's a specific reason).
> 
        I used to use unsigned types wherever the value is semantically
unsigned, but I am in the process of changing to signed everywhere
possible because of the brain dead way mixed operations are handled
(in C, but D would be the same).

                Jerome
-- 
mailto:[email protected]
http://jeberger.free.fr
Jabber: [email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to