Re:Almost Always Unsigned
by dagss on Sunday January 02, 2022 @11:48AM
(#29770294)
Clearly defined, but very inconvenient and makes it too easy to write buggy code that looks correct on surface.
[ Parent
| on HN ]
Inconvenient to whom? It’s pretty inconvenient not to do that if you eg have strict memory/performance requirements.
C made the right tradeoff IMO. You can protect yourself against overflow if you need to, but if it always signals errors you can’t turn that off.