HN Hall of Fame Weekly email

Why don't schools teach debugging? (2014)

Screenshot of danluu.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
6
submitters
6
observed span
2014–2024
peak thread · 168 comments
276 pts
latest 20+ return · 2020-12-07
64 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

It is a task that shouldn't be learned in university but in middle school. And it's not just useful to stem, it's useful to many things in life. E.g. a disagreement between two educated, smart people usually can be resolved by debugging how everybody got to their point of view and then flashing out the details. It's also how you figure out why the toaster isn't working any more, or why your wife left you. It's also actually two skills…

erikb·276-point thread·

I did an electrical engineering course. Especially with hardware ("welcome to tweak week"), there was a real sink or swim approach. I ended up feeling like it had to do with testability. It's easy to grade a test if you just look for right answers, and mark everything else off. It's easy to grade labs if you just look for the circuit tracking the input frequency. Grading either based on some assessment of how well the student understands what's actually…

>> We had been warned in orientation that half of us wouldn't survive the year. In class, We were warned again that half of us were doomed to fail, and that ECE 352 was the weed-out class that would be responsible for much of the damage. What an absolutely shitty attitude towards teaching. "We're going to let half of you fail". But that's not the failure of the students: you're their bloody teacher! You're the one who's failing to teach…

But if students go through advanced CS courses they eventually learn some debugging, no?

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
504

reference only — not used in Hall rules or ranking

Total comments
334

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-02-11Why Don't Schools Teach Debugging?First breakoutdanso154127
2015-11-26Why Don't Schools Teach Debugging? (2014)signa1132
2016-04-24Why don't schools teach debugging? (2014)ingve30
2017-04-25Why don't schools teach debugging? (2014)Best threadjoeyespo276168
2020-12-07Teach Debugging (2014)Hall induction · Latest 20+ point returntim_sw6434
2024-01-14Why don't schools teach debugging?jseliger43