[webkit-dev] unsigned vs unsigned int

Maciej Stachowiak mjs at apple.com
Sun Sep 16 15:06:32 PDT 2012


On Sep 16, 2012, at 2:30 AM, Allan Sandfeld Jensen <kde at carewolf.com> wrote:

> On Thursday 13 September 2012, Dan Bernstein wrote:
>> On Sep 13, 2012, at 1:29 AM, Kenneth Rohde Christiansen 
> <kenneth.christiansen at gmail.com> wrote:
>>> Hi there,
>>> 
>>> I was telling people to use "unsigned" instead of "unsigned int", as I
>>> have been told that was the preferred style before, but apparently
>>> that is not in the style guide.
>>> 
>>> The question is, should it be?
>> 
>> Yes.
>> 
> Why? Wouldn't it be better to move away from deprecated C syntax?


At least per ISO/IEC 9899:1999 (colloquially called C99), using "unsigned" as a type name is not deprecated. The standard does label a few things deprecated, but not this.

Regards,
Maciej



More information about the webkit-dev mailing list