News for hackers. Stuff that matters.
Re:I was wrong, reflecting on the .NET design choices by rrobukef on Friday April 21, 2017 @08:06PM (#14170402)
I find unsigned types more dangerous than signed bounded types. For unsigned types the edge-case is at 0, a frequently used number in eg. arrays. For signed types the edge-cases are at (random) positive and negative numbers.

Having to think more about edge-cases makes the code more dangerous:

    for(uint i = arr.len()-1; i >= 0; i--) {...}
Re:I was wrong, reflecting on the .NET design choices by masklinn on Saturday April 22, 2017 @06:32AM (#14171892)
> I find unsigned types more dangerous than signed bounded types.

So you do agree that signed bounded types are dangerous, and it's only a matter of degrees between them and unsigned. Thank you.