You are here

today's minor rant: credit card number fields and lazy programmers

This is minor, but god(dess)(s/es) how it annoys me...

Look at one of your credit cards. Notice how the digits of the card number are displayed in groups of four, something like "4111 1234 5678 9011".

Now, try entering the digits in just that way on some website where you want to buy something using that card. Odds are 50/50 that the site won't accept the input, that it will require you to type them in as the much less legible "4111123456789011".

There is absolutely no reason for this other than laziness or incompetence. Telling the program to remove spaces or dashes is trivial -- a decent program should be able to accept either format. (I've done it for my employer.)

Modern programming languages have a rich array of functions and methods for string manipulation. Learn to use 'em or go home and leave the programming to the grown-ups, kids.


Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.

User login

To prevent automated spam submissions leave this field empty.