Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

He qualified with "reasonably convinced", and you countered with an unreasonable example. That is the definition of attacking a strawman.


It's not unreasonable, it only seems unreasonable because of the context. I've seen several really good programmers (and overall bright people) mix the implementation of the two up.


If you have the two algorithms mixed up, unit tests aren't going to save you either. Nothing will ever save you from intending to do the wrong thing.


If you actually use the result of the function somewhere, some tests of that component should give wrong answers.




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

Search: