3 ms·
That's a funny example considering an input validation routine for credit cards should automatically throw out any input consisting of more than numerals and sp
by giggles_giggles 7y ago
That's a funny example considering an input validation routine for credit cards should automatically throw out any input consisting of more than numerals and spaces. You don't need to test for Unicode or emoji when there are only 11 possibly valid characters in the input.
- LocalH 7y agoOn a tangent, I find it interesting how many people who came up during such a period of profound change as the computing revolution, still have problems with other changes.
- papito 7y agoYes, but the code that actually checks for the valid characters can bomb if Unicode blows its brains out.