3 ms·
Always relevant: https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-..
by Sharlin 7y ago
Always relevant: https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/ https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-...
- ryandrake 7y agoThis 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.
- ken 7y agoThe 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.
- ClumsyPilot 7y agoI must admit I have not seen one. Sounds like a perfect thing to crowdsource
- lostlogin 7y agoI’ll add the HN thread from that here too. That link of yours is very good. https://news.ycombinator.com/item?id=1438472 https://news.ycombinator.com/item?id=1438472
- FabHK 7y agoIt'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-believe-about-names-with-examples/ https://shinesolutions.com/2018/01/08/falsehoods-programmers...