News for hackers. Stuff that matters.
Re:"No Dashes Or Spaces" Hall of Shame by patio11 on Friday March 19, 2010 @02:36AM (#1203539)
Relatedly: telephone numbers. (555) 555-5555 is understood by every American above the age of like six. Why can't your website figure it out? phone_number.gsub!(/[^0-9]/, "") prior to processing, pretty_print_phone_number(phone_number) in the view, and you're freaking done.

Relatedly but of less obvious salience to most Americans: if you tell me to write my name in hankaku kana and I write it in zenkaku kana then rather than telling me to rewrite it, call your zenkakuToHankaku function on my input, see if it contains anything other than kana, and if not just coerce the input over. I have been on a crusade to do this at my day job.

Re:"No Dashes Or Spaces" Hall of Shame by ars on Friday March 19, 2010 @04:34AM (#1203675)
Two reasons:

Force people to enter their area code.

What do you do about international numbers? It's a bit more complicated, and the grouping is less obvious.

Re:"No Dashes Or Spaces" Hall of Shame by nandemo on Friday March 19, 2010 @07:02AM (#1203853)
The kana part is a pet peeve of mine. It also happens for the address part. The only site I recall that does the conversion automatically is Google Adsense.