3 ms·
Another approach is to have compile time checking of overflow or bounded numbers. There's been discussion about the utility of this on the Rust list recently an
by doublec 13y ago
Another approach is to have compile time checking of overflow or bounded numbers. There's been discussion about the utility of this on the Rust list recently and I wrote up some of my experience with languages that let you do checking: http://bluishcoder.co.nz/2013/05/07/ranged-integer-types-and-bounds-checking.html http://bluishcoder.co.nz/2013/05/07/ranged-integer-types-and...