4 ms·
Sufficient Design
- gfodor 16y agoThe problem with advice like this, while valid, is it very quickly turns into an excuse for sloppiness.
- CodeMage 16y agoThat's probably the main reason why people keep rephrasing this same advice all the time. Even though many others have said the same thing before the author X got to it, he or she has seen all that stuff misinterpreted and used as an excuse for shoddy work. So naturally the author X decides to tell it again, but this time in an even clearer way. Redundancy out of optimism ;)
- ThomPete 16y ago"...some code simply doesn't need an excellent design..." If that is the case then the question really is what value is that specific feature to the product.
- icey 16y agoHow perfect does the code need to be that sends people forgotten password links?
- ThomPete 16y agoPretty perfect.
- icey 16y agoOh please. Well enough to work != perfect. You don't need to spend 10 hours trying to figure out every possible edge case to sending an email with a link in it. If it works 99.9% of the time, you can manually handle the few cases where it doesn't.
- CodeMage 16y agoActually, he's right. The problem is that the example you chose isn't very good for the point you're trying to make. First of all, forgotten password management is extremely important. You don't want to lose those users. Second, all sorts of things can go wrong with e-mail. I don't often find myself agreeing with Jeff Atwood, but he nailed it in his post: http://www.codinghorror.com/blog/2010/04/so-youd-like-to-send-some-email-through-code.html http://www.codinghorror.com/blog/2010/04/so-youd-like-to-sen...