News for hackers. Stuff that matters.
Re:Almost Always Unsigned by CamperBob2 on Sunday January 02, 2022 @03:46PM (#29773678)
"This value should never be negative, so I'll use an unsigned type." There are two types of programmers: ones who are reassured by that reasoning, and ones who shudder at it.
Re:Almost Always Unsigned by imtringued on Sunday January 02, 2022 @08:04PM (#29776102)
Yeah, "should not" and "can not" aren't the same at all.