When I read Brandon’s post – Validation Blind Spots Hurt Real Users – I was immediately reminded of a book I read back in Jr. high school, “The Man Whose Name Wouldn’t Fit”. In it, a man’s name did not fit into his company’s new payroll system. (Kiddies, that there on the cover of the book is a Punch Card; real Old-school tech.) To exact his revenge for being let go because of this anomaly, he wreaks havoc on the computer system using a variety of delivery methods for a magnetic tape eating bacteria. It was a fun romp.
Brandon’s article starts by describing a similar, real-world problem. Here’s a little taste.
A friend of mine lives on Bonieta Harrold Drive. I live on a Windsor Hill Drive. Both of us have a problem in common, which is that poorly designed software is incapable of accepting the length of our street address. For me, American Express refuses to accept more than “WINDSOR HILL D”, which still arrives at our home. I can’t imagine if my friend ever got an American Express card, since given the maximum length available for an address, he would live on “BONIETA HARROL”. If you live in a place where direction (e.g. NW, SW, SE) matter, not having enough space can be extraordinarily problematic to the proper delivery of mail and packages if there is not enough room for the whole address.
As Brandon (and the book) both point out, companies need to be careful when setting artificial limits and validations on incoming data. Unlike the book however, Brandon does not advocate attacking the computers, instead he offers advice to the developers building the systems.
Brandon gives 4 very valid pieces of advices to developers (and system architects for that matter) on dealing with data and validation. You will have to visit his blog however, to find them. While you are there, feel free to leave a comment. Tell Brandon what points you agree on, what points you disagree on, and share some of your own personal experiences. Blog posts are great, but conversations are greater.
While “The Man Whose Name Wouldn’t Fit” had a great cover – I just love that 70′s OCR font – Validation Blind Spots Hurt Real Users has better advice on how to deal with the problem. Click on through and give it a read.