https://issues.dlang.org/show_bug.cgi?id=9558

hst...@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hst...@quickfur.ath.cx

--- Comment #1 from hst...@quickfur.ath.cx ---
I'm not sure about this. The '0x', '0b', etc., prefixes are syntax defined by
programming languages, whereas isNumeric is intended to check user input.
Presumably, most users wouldn't know what 0x, 0b, etc., are, and may be
surprised to learn that what they consider as invalid input (e.g. 0b10) is
actually accepted by the program, with results that are unexpected to them.

Parsing programming language literals should not be conflated with parsing user
input.

--

Reply via email to