D arithmetic problem

Tim Matthews tim.matthews7 at gmail.com
Wed Jun 3 19:10:03 PDT 2009


Steven Schveighoffer wrote:

>I think it all depends on what you learned first.

I learnt c first, c++ second, some similar others before d.

> Making byte unsigned and introducing sbyte would go against the current 
> convention of "without a u is signed, with a u is unsigned".
>

It would make it very messy agreed. I would hate for it to be changed 
now and brake everything but explicitly signed aliases to the existing 
types without removing the old is maybe not a bad idea though:

sbyte
sshort
sint
slong
scent




More information about the Digitalmars-d mailing list