Re:“People who implement new and improved interfaces always ...
by raverbashing on Friday September 11, 2015 @12:05PM
(#10204459)
Because isdigit is checking only the first digit, and parse_integer is parsing not only that one, but the following digits as well
[ Parent
| on HN ]
Re:“People who implement new and improved interfaces always ...
by victorNicollet on Friday September 11, 2015 @12:30PM
(#10204608)
parse_integer stops reading when it encounters a non-digit character (in order to support reading multiple integers from the same string).