HackerTube

THE VIDEO SHELF · debugging methodology

Debugging with the Scientific Method - Stuart Halloway

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.

Why HN readers recommended it

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

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
ClojureTV
Topic
debugging methodology
Format
talk
Level
intermediate
HN recommenders in dataset
4
HN mentions in dataset
4
Recommendation years in dataset
2015–2023

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • 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 …

    seanc on Hacker News · 2022-09
    In Ask HN: How do you get better at debugging/finding a solution?
  • 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 …

    chrislloyd on Hacker News · 2015-12
    In Metabase: Why we picked Clojure
  • Stuart Halloway from the Clojure community has some great a talks using the REPL to debug. Links: Debugging with the Scientific Method - Stuart Halloway ( [VIDEO] ) REPL DEBUGGING: NO STACKTRACE REQUIRED ( [LINK] ) scope-capture ( [LINK] )

    grierson on Hacker News · 2018-09
    In REPL + Debugger = REPLugger: a pleasant and scalable live code editor

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.