0 < negative loop condition bug or misunderstanding on my part

Ali Çehreli acehreli at yahoo.com
Tue Mar 6 22:23:20 PST 2012


On 03/06/2012 10:05 PM, ixid wrote:
 > Ah, thank you, so it's wrapping. That seems like a bad idea, what is the
 > benefit to size being unsigned rather than signed? This case would seem
 > like one where allowing negatives is clearly better and more intuitive.

There are probably hundreds of discussions about that over the years on 
many different language newsgroups and forums. :) There is no clear 
winner: Both sides of the arguments seem to have good points.

Ali



More information about the Digitalmars-d-learn mailing list