3 ms·
But be careful, this is one of of falsehoods programmers believe about names [1]. My name needs 16 characters, so 20 as a limit bothers me personally. For this
by 8organicbits 4y ago
But be careful, this is one of of falsehoods programmers believe about names [1]. My name needs 16 characters, so 20 as a limit bothers me personally.
For this example I'd suggest allowing long names. No one wants to have a computer say "your name is not valid". However, if the goal of personalized email is to be friendly, or some other non-functional reason, consider only including the name in the email if its "short" enough. That seems like a graceful degradation that would limit spam.
Edit: or to address the URL/phone number concern, allow the user to pick that as their name, but not include it in the email.
[1] https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...
- Dylan16807 4y agoIt's only a falsehood if you expect it to hold everyone's full name. No need to call any names invalid just to ask for something shorter.