3 ms·
> “Unsigned has a bigger range.” > Only a bit bigger. So... "only" twice as big. I'm not particularly fond of the trend toward avoiding unsigned integers (i
by Mindless2112 13y ago
> “Unsigned has a bigger range.”
> Only a bit bigger.
So... "only" twice as big.
I'm not particularly fond of the trend toward avoiding unsigned integers (in particular the lack of unsigned types in Java and array lengths being signed in C#).
A good programmer should be capable of determining whether to use a signed or unsigned type; if it's not easy to decide, that indicates a design flaw to me.