On 11/20/2014 6:22 AM, Ary Borenszweig wrote:
Nobody is saying to remove unsigned types from the language. They have their
uses. It's just that using them for an array's length leads to subtle bugs.
That's all.

If that is changed to a signed type, then you'll have a same-only-different set of subtle bugs, plus you'll break the intuition about these things from everyone who has used C/C++ a lot.

Reply via email to