6 ms·
Does there exist a use case in portable code such that use of isdigit is not a bug? How does the committee view non-portable existing code generally when consi
by hsivonen 6y ago
Does there exist a use case in portable code such that use of isdigit is not a bug?
How does the committee view non-portable existing code generally when considering changes?
- DougGwyn 6y agoCode can be non-portable for various reasons, not all of them bad. I just grepped a recent release of DWB and found about 100 uses of isdigit, most of which were not input from random text but rather were used internally, such as "register" names (limited to a specified range). Other packages are likely to have similar usage patterns. I really don't want to have to edit that code just for aesthetics.