2 ms·
once you consider overflow and underflow You're explicitly comparing apples and oranges here. Are you implying that it's never necessary to check for overflow
by tremon 3y ago
once you consider overflow and underflow
You're explicitly comparing apples and oranges here. Are you implying that it's never necessary to check for overflow and underflow in dynamically typed languages, and that it's somehow mandatory to do so in statically typed ones? Or, in case your argument is "numbers in dynamically typed languages do not overflow", are you aware of BigDecimal in Java or sys.maxint in Python 2?
- ReflectedImage 3y agoIn modern dynamically typed languages, you do not need to check for overflow or underflow and you don't need any special library to do so, it's built directly into the language.