Signed word lengths and indexes

Alex Makhotin alex at bitprox.com
Tue Jun 15 09:26:11 PDT 2010


Walter Bright wrote:
> div0 wrote:
>> I do think that allowing un-casted assignments between signed/unsigned 
>> is a problem though; that's where most of the bugs creep up I've come 
>> across crop up. I think D should simply disallow implicit mixing of 
>> signd-ness.
> 
> Andrei and I went down that alley for a while. It's not practical.
> 

A link on the discussion or examples of unpractical explicit cast would 
be helpful to me to try to understand such decision.


-- 
Alex Makhotin,
the founder of BITPROX,
http://bitprox.com


More information about the Digitalmars-d mailing list