3 ms·
I think we need a Big List of Nice Strings that your program must handle correctly. It would be forgiven for rejecting an evil string, but names with apostroph
by myself248 4y ago
I think we need a Big List of Nice Strings that your program must handle correctly.
It would be forgiven for rejecting an evil string, but names with apostrophes must be handled.
- Beltalowda 4y agoI usually write a test with 'Россия&, '€& [shrug emoji in there dropped by HN idiocy], or the like as the input. If it handles that correct, then it'll probably be fine for everything else too.
- bmacho 4y agoI don't get it. There are no strings that are good to reject (not even the empty string). You gain nothing but bugs, and people that you turn their lives miserable.