Scientific debugging
Oct. 24th, 2007 12:02 pmAs I was working on figuring out why a webpage wouldn't layout properly yesterday, it occurred to me that debugging problems is one of the purest expressions of the scientific method around. I think kids should learn that in school: if you understand how science works, you'll be able to make things work when they break.
no subject
Date: 2007-10-24 06:16 pm (UTC)no subject
Date: 2007-10-25 02:32 am (UTC)Hmm... it's probably also hard to intentionally write code with the kinds of bugs you encounter in real life...
no subject
Date: 2007-10-24 06:43 pm (UTC)no subject
Date: 2007-10-24 07:45 pm (UTC)It's also pretty frustrating when I'm doing tech support, and I'm trying to include the customer in debugging by explaining what I'm checking and why I'm checking that and what I hope it will tell me, and then they answer me monosyllabically, as if they expect me to read their minds to figure out the problem.
no subject
Date: 2007-10-24 08:11 pm (UTC)The problem is, it can be a constant battle for me when I'm enjoying "performing science" on the system I'm working on (tweaking parameters), rather than (say) just looking up the answer in the manual, or just understanding the API better. :)
no subject
Date: 2007-10-24 11:41 pm (UTC)no subject
Date: 2007-10-25 02:33 am (UTC)no subject
Date: 2007-10-25 05:03 pm (UTC)When I was a student, I hated it when teachers gave me assignments where you not only had to find the answer, you had to find the question first. I was really busy as a student, both with classes and other things, and so I just wanted to learn the material as efficiently as possible. Also, when you're worried about your grades, I think student sometimes even perceive these kinds of assignments as "unfair." When you're expected to do a million things at once, and be perfect at all of them, their isn't as much room for the "error" part of "trial and error."
no subject
Date: 2007-10-28 12:07 am (UTC)