3 ms·
Yes, but I would take minor issue in that I wasn't saying what should happen so much as what the options are given various tradeoffs. There are programming com
by asveikau 6y ago
Yes, but I would take minor issue in that I wasn't saying what should happen so much as what the options are given various tradeoffs.
There are programming communities that have criticisms of exceptions and would like to avoid them. I am sympathetic to that. But if you do have exceptions, this is a good candidate. If you don't have exceptions, making integer overflow trap seems problematic. Posix signals may be another solution, with its own problems and ugliness.