3 ms·
I came here to say something similar. I just finished teaching programming to complete beginners, and getting them to actively debug was one of my hardest tasks
by scott_s 16y ago
I came here to say something similar. I just finished teaching programming to complete beginners, and getting them to actively debug was one of my hardest tasks. His comment about programming without being able to debug is programming blind is spot on.
When most of my students' code wouldn't work, they were blind. I had to teach them both the questions they had to ask themselves and how to answer those questions. There's a logical process involved that's similar to induction that I suppose I had to figure out on my own.
Teaching that process was the hardest thing to do, no question. I said many times during the course that algorithmic thinking will be a kind of thinking that's completely new to them. What I hadn't anticipated was that the thinking required for debugging is actually a level above that.
- drblast 16y agoWhat I find fascinating is that problem solving seems to be so counter-intuitive for some people when to me it just seems natural and obvious. Like you said, "I suppose I had to figure [it] out on my own." I'm the same way; nobody taught me. That you'd have to teach someone that when something goes wrong the first step is to narrow down the possibilities until you find the cause baffles me, but I've had the experience of leading people through that process so many times that I no longer think they're just being obtuse or lazy. It really must be a learned skill.
- jeebusroxors 16y agoI get this a lot when talking to semi technical people about a project I'm working on. Their side of the conversation normally goes something like "Well how did you think of X? But where did Y come from?", to which I reply, I wanted X, X needed Y to work, so I created Y". The question is always asked, and the answers are always similar and I always feel awkward explaining things that are second nature. It's akin to someone asking - so why did you exhale?