|
|
|
|
|
by NAFV_P
4337 days ago
|
|
> Even today, if you're designing a truly novel algorithm, you're very likely to spend the bulk of your time not coding, and then coding only at the end as a sort of check to make sure you ideas work out. If you cannot code, you cannot check that your ideas work out on a computer. > Which is to say, from my observation, coding-as-problem-solving is not very effective until after you've thought things through in more general, mathematical terms. I don't see how that relates to my comment, I specifically referred to 'writing' an algorithm, as in implementing the algorithm in code, not devising the algorithm in the first place. |
|
Believe it or not, it's possible to write provable correct algorithms without writing a single test case :-)
Of course implementing is a useful sanity check. But it's not the important part -- it's not the skill set we should most emphasize in education.
> as in implementing the algorithm in code, not devising the algorithm in the first place.
Is there a particularly pressing reason to teach students who to translate pseudo-code from Wikipedia into <insert favorite language>? Sounds like a perhaps useful but pretty menial skill to me. Not the sort of core skill you'd organize a curriculum revision around for sure.