Hacker News new | past | comments | ask | show | jobs | submit login




It's always annoyed me that the blog post above didn't contain examples, and I'm grateful that someone posted a latter post that does contain examples:

https://shinesolutions.com/2018/01/08/falsehoods-programmers...


This entire thread is a testament to Falsehoods Programmers Believe About Names. Shouldn't everyone by now have access to a list of "edge case" names to test their software against so these kinds of things don't get deployed? It's hard to believe it's 2019 and we are still struggling with things like names, addresses and dates.


The edge cases in this example are trivial to generate: length 1, or empty string. ("Ends with the letters MR" isn't on this list, and is awfully specific.) If you do nothing but have a text field that can contain anything at all the user chooses to type, that will work!

Add in "user X's name changes to Y on date Z" (hard to put in a list of edge case names) and you've covered 98% of these issues.


I must admit I have not seen one. Sounds like a perfect thing to crowdsource


I’ll add the HN thread from that here too.

That link of yours is very good.

https://news.ycombinator.com/item?id=1438472




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: