3 ms·
You teach it like you teach any other skill: with guided practice. People get a lot better with debugging if you help them through some of their problems and th
by saagarjha 3y ago
You teach it like you teach any other skill: with guided practice. People get a lot better with debugging if you help them through some of their problems and then let them come to you when they’re stuck. The thing with debugging is you can struggle a lot and do it very inefficiently so I see plenty of students who power through these non-trivial assignments while taking far longer than they should because they never learned the fundamentals of how to validate their code. They have no idea what tools they have available to them, how to design checks that efficiently test their hypotheses of why things aren’t working, or designing code so that it works the first time as much as possible.