4 ms·
OTOH I must note that Swift, on the other hand, has opted to error on overflow and have a second set of overflowing operators: https://developer.apple.com/libra
by masklinn 12y ago
OTOH I must note that Swift, on the other hand, has opted to error on overflow and have a second set of overflowing operators: https://developer.apple.com/library/mac/documentation/swift/conceptual/swift_programming_language/AdvancedOperators.html#//apple_ref/doc/uid/TP40014097-CH27-XID_73 https://developer.apple.com/library/mac/documentation/swift/...
- acqq 12y agoAnd that's the best approach I can imagine: programmer should be able to control if he wants 5% penalty or speed. It's a win-win.