4 ms·
It can be very interesting to see what other coders did and compare it with your own solution, in the messageboard (when you solve a problem you get access to t
by mmp 19y ago
It can be very interesting to see what other coders did and compare it with your own solution, in the messageboard (when you solve a problem you get access to the corresponding thread).
You can compare the actual algorithms and ways to approach the problem, of course, and they can be very varied, so you end up learning a thing or two. And the languages themselves, you can see their strengths and weaknesses in particular areas. It stimulates curiosity and opening your mind to new ways of doing things. I think that's important and valuable because when you think about it, there aren't that many opportunities to do so.
Also, when you're tackling something novel, it seems to me you're going to restrict yourself pretty early to tools you already know, and you're not going to try radically new things once you're into it because the penalty would be too high (I may be wrong though).
- jonp 19y agoAgreed. There's quite a diversity of solutions ranging from brute-force, through "computer science" optimisations, to clever mathematics. And as someone who had mainly programmed in various versions of Basic before it's been eye-opening to see a range of different languages and their strengths and weaknesses. In particular some of the solutions in J (http://www.jsoftware.com/ http://www.jsoftware.com/) struck me as quite remarkable.