3 ms·
I would not consider exceptions a significant improvement in C, in general. I might make allowance for using them for division, signed integer math where overfl
by ArkyBeagle 10y ago
I would not consider exceptions a significant improvement in C, in general. I might make allowance for using them for division, signed integer math where overflow is a possibility or in cases for memory overwrite when possible.
IMO, exceptions ( and I use them A Heck Of A Lot, probably to a fault in coding Tcl ) are really just a convoluted control flow mechanism, and I'd rather see the expectations made explicit than exceptional.
Heck, with full-on MMU memory protection, all code that's not in kernel mode should be free of memory overwrites anwyay.
I say that as a maintainer.