What's in a name (validation)?

A presentation at AlterConf Chicago 2017 in June 2017 in Chicago, IL, USA by Carly Ho

Slide 1

Slide 1

WHAT'S IN A NAME (VALIDATION)?

Slide 2

Slide 2

Hello! I'M CARLY HO engineer @ clique studios http://carlymho.com/ @carlymho

Slide 3

Slide 3

VALIDATING NAMES

Slide 4

Slide 4

names: important info, difficult to validate

Slide 5

Slide 5

WHAT IS A NAME?

Slide 6

Slide 6

what do we assume about names?

Slide 7

Slide 7

what are names but no, really

Slide 8

Slide 8

the form of a name is different almost everywhere

Slide 9

Slide 9

in the USA, we still often assume western euro norms

Slide 10

Slide 10

names: a way to refer to someone. pretty much it

Slide 11

Slide 11

sorry, there's no good way to validate them D:

Slide 12

Slide 12

SO WHAT CAN YOU DO?

Slide 13

Slide 13

what do you need the name for?

Slide 14

Slide 14

do you need to ID them by name?

Slide 15

Slide 15

do you need to separate first name/last name?

Slide 16

Slide 16

do you only need one part of a name?

Slide 17

Slide 17

let the user help you by telling them what you'll use the name for

Slide 18

Slide 18

don't assume which part is the surname/family name

Slide 19

Slide 19

make sure your ui accommodates both long + short names

Slide 20

Slide 20

COMPASSIONATE VALIDATION

Slide 21

Slide 21

your system might not be able to process all possible names

Slide 22

Slide 22

don't position it as a problem with the user's name

Slide 23

Slide 23

admit the system limitation in validations + work to improve

Slide 24

Slide 24

Thanks! QUESTIONS? You can find me at http://carlymho.com/ @carlymho

Slide 25

Slide 25

RESOURCES & FURTHER READING " Regular Expression for Validating Names and Surnames ," stackoverflow " Your Last Name Contains Invalid Characters ," John Graham

Cumming " Representing People's Names in Dublin Core ," Andrew Waugh " Wookey

is that it? " Wookey " Falsehoods Programmers Believe About Names ," Patrick McKenzie