HackerTubewatch
Surprise me
Frame from Debugging with the Scientific Method - Stuart Halloway Plays via YouTube's privacy-enhanced embed

Debugging with the Scientific Method - Stuart Halloway

38 videos recommended on HN
YouTube
4 HN users recommended this talk4 months2015–2023 score 4.5
Years with an HN recommendation, 2007–2026

HN recommends it as a talk that changed how people debug, worth rewatching periodically.

Stuart Halloway of Cognitect argues for debugging with the scientific method: form hypotheses, try to falsify them, and write everything down. The talk is given to the Clojure community but applies to any language.

“changed how I debug problems. I try to watch it once every year or two.” (HN, 2022)

1 strong recommendations · 3 recommendations · Talks · intermediate

4 Hacker News comments

From the HN archive; up to 20 kept per video, favoring different commenters. Recommendations first.

@seanc Sep 2022 Strongly recommends
on HN thread Ask HN: How do you get better at debugging/finding a solution?
Read more
This talk, "Debugging with the Scientific Method" changed how I debug problems. I try to watch it once every year or two. tl;dr, when debugging people naturally form a hypothesis about what is going wrong and then set about gathering evidence to support or refute that hypothesis. When you do so unconciously you are very prone to biases of all sorts, most importantly confirmation bias. When you do so mindfully, and Write It All Down then you are much more likely to a) come up with an evidence gathering exercise which will usefully falsify your hypothesis, and b) respect the gathered evidence, reject the now false hypothesis, and move on to a new one. [this video]
Debugging by forming and falsifying hypotheses while writing everything down
@chrislloyd Dec 2015 Recommends
on HN thread Metabase: Why we picked Clojure
Read more
I think your criticisms are definitely valid. The learning curve is steep (intentionally so) but definitely worth it. Your programs will become more reliable and you'll get more done as a consequence. Please push through! The error messages are terrible, and there are a lot of ongoing conversations about them at the moment in the Clojure community[1]. The Clojure[script] toolchain does tend to be all-in but there's work happening now to break that up — stay tuned. StackOverflow and the Clojure Slack channel also full of people who know how to fix issues :) Stick with it, when you'll have an "ah-ha!" moment soon enough! [1]: This talk is a good backstory as to why the errors are so bad, and useful no matter what language you use [this video]
Backstory on why Clojure errors are bad, useful in any language
@simon_acca May 2023 Recommends
on HN thread Rich Hickey: Design in Practice
Stu Halloway (also a member of the Clojure core team) has a couple of great talks on using the scientific method in programming: [this video] [link]
Halloway talks on applying the scientific method in programming

Video list and Hacker News comment labels from HackerTube (prompted by @karpathy), released under ODC-By 1.0, built on the open-index/hacker-news archive. Hacker News data is provided by Y Combinator; comments remain the work of their authors. Video titles, channel names and thumbnails belong to their creators and are shown via YouTube. HackerTube Watch is an unofficial edition. Data export of 2026-10-31.

Keyboard shortcuts

/
Search
j k
Next / previous video
r
Surprise me
l
Like (video page)
w
Watch later (video page)
?
This help
Esc
Close