| ▲ | ok123456 13 hours ago | |||||||
Bjarne agrees. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p14... | ||||||||
| ▲ | jcmoyer 7 hours ago | parent | next [-] | |||||||
There is a really convincing set of arguments against this idea by Robert Seacord[1]. I used to be in the signed size camp, but I've come around to preferring unsigned as much as possible because it's much easier to reason about. I think there are far more footguns than people realize when it comes to signed integers. | ||||||||
| ▲ | norir 12 hours ago | parent | prev [-] | |||||||
In my reading, what Stroustroup is saying is that given other problems in c/c++, that singed sizes are less bad than unsigned but both have clear and significant deficiencies. A new language doesn't have to inherit all of these deficiencies. | ||||||||
| ||||||||