News for hackers. Stuff that matters.
Re:Using signed or unsigned int by default in C (2015) by ghoward on Tuesday August 23, 2022 @02:09PM (#32568787)
I think I agree with you, as much as I don't want to.

I am a C programmer, and I think I do know what I am doing. (I implemented safe, UB-free two's-complement arithmetic in C using only unsigned integers.) I prefer unsigned.

But for someone who doesn't know, as long as they're not working on anything critical, signed might be "good enough".

There are no comments on this comment yet.