News for hackers. Stuff that matters.
Re:Using signed or unsigned int by default in C (2015) by giomasce on Tuesday August 23, 2022 @03:26PM (#32570070)
I don't know if I am too stupid or too smart, but I use signed when some number can be negative and unsigned when it cannot. Of course I am aware of their differences other e.g. when they wrap, and act accordingly.
Re:Using signed or unsigned int by default in C (2015) by kbelder on Wednesday August 24, 2022 @01:03PM (#32582395)
Just smart enough.