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

That seems highly questionable. Given the complexity of his brute force algorithm, it was probably significantly more complex, and required more development time than the more elegant solution. The only reason the brute force got its answer first, was because it was the first thing he tried. That’s hardly an advantage of the approach.


If you know how to do something, it is usually a lot faster to do it that way, than go looking for alternative solutions.

The mantra of highly productive people: Start where you are. Use what you have. Do what you can.


This is what I found doubtful. Generally implementing and debugging complex solutions is very time consuming and self education is very efficient.


What you're missing is the discovery time of the elegant solution, and the knowledge required to know that it may exist.


I’m not missing anything. The time spent to properly understand your problem is generally quite small, and pays itself back many times over.




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

Search: