Friday, January 3, 2014

Designing Validation Rules for Names

Seems like there's no hope of ever getting it right: http://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/

But still, I'm sure for the sanity of the app and where applicable, other users, certain rules can/should be applied on a case-by-case basis:

  • Length limits because you simply can't design a website with any length of name possible
  • Character limits in situations where names have to be readable by majority of users (e.g. restrict to ASCII or extended ASCII)

1 comment: