Hacker News new | ask | show | jobs
by archivator 4518 days ago
Except that Maestro cards start with 6 as well.

Also, many ATM cards (a foreign concept to this European until very recently) overlap with Visa ranges. In fact, my ATM card parses exactly as a Visa number. It even has the Visa trademark mentioned on the back. No, you can't use it for online transactions. Apparently, Visa Debit is not a thing in Canada ...

My point is, showing wrong UI is often worse than clunkier UI.

2 comments

Just so I understand, your complaint is: if you enter a number that isn't a credit card number, but that can't actually be differentiated from a valid credit card number, the credit card widget isn't able to determine that it's not valid? You seem to be expecting a great deal from this widget.
> My point is, showing wrong UI is often worse than clunkier UI.

Point taken. As I thought I pointed out however, it's not wrong UI for my app. Since our company only accepts those 4 options, any other code that does more work than my example is a pointless waste of time (for both the programmer and computer).