2 ms·
> Whether you want an exception or an error or some sort of Either/Option type or whatever depends on your language, but something ought to twitch here. The pr
by Mindless2112 11y ago
> Whether you want an exception or an error or some sort of Either/Option type or whatever depends on your language, but something ought to twitch here.
The problem with handling integer overflow is that the mechanisms for it are clunky. Is there a programming language that handles integer overflow using a better mechanism than those listed? (I mean without resorting to a BigNum.)