News for hackers. Stuff that matters.
Re:Why do credit card forms ask for Visa, Mastercard, etc.? by ahallock on Friday January 31, 2014 @03:31PM (#7159008)
I think it's one of those things where convenience for those looking at the underlying data has bled over into the UI. While you can deduce the type from the number, it's not easy for humans to do that at glance while looking over SQL query results. I could be wrong, but often, we ask users for more input than we need to because elegant UIs take lots of work.
Re:Why do credit card forms ask for Visa, Mastercard, etc.? by ii on Friday January 31, 2014 @04:29PM (#7159308)
Is it really hard for anyone in 2014 to get the type of a card from the first 2 digits of a card number and add a field to an INSERT query?
Re:Why do credit card forms ask for Visa, Mastercard, etc.? by ahallock on Friday January 31, 2014 @05:07PM (#7159490)
It's not difficult, but quite a few developers I've worked with were unaware of that algorithm, which is one reason I think they pushed it into the UI.
Re:Why do credit card forms ask for Visa, Mastercard, etc.? by ii on Saturday February 01, 2014 @08:19PM (#7164339)
All developers I know of, including myself, do have this unawareness of simple things, but I prefer to call it for what it is: simple human laziness.