Signed-unsigned comparisons in Phobos

Walter Bright newshound2 at digitalmars.com
Fri Aug 12 11:16:45 PDT 2011


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.


More information about the Digitalmars-d mailing list