Signed-unsigned comparisons in Phobos

Jacob Carlborg doob at me.com
Fri Aug 12 11:32:51 PDT 2011


On 2011-08-12 20:16, Walter Bright wrote:
> On 8/12/2011 8:52 AM, Jonathan M Davis wrote:
>> it's a practice that many
>> people don't seem to follow (in both C/C++ and D), since it's so
>> natural to
>> use int (or auto in D),
>
> Back in the olden days of C, it was "best practice" to use int as an
> index. Times have changed, but old habits die hard.

Just out of curiosity, why was that?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list