Problem Solving
Coding is 20% typing, 80% staring and asking “why”.
▶ the lesson · ~35s · narrated · tap for sound
the intro
Problem solving is the actual job. The reliable loop: reproduce the bug, isolate the smallest failing case, form one hypothesis, change exactly one thing, test. Repeat until the mystery dies. Everything else is typing.
the sample
the oldest debugger in the world
console.log('here 1')
console.log('here 2')
// ...the classic
// it never prints 'here 2'fun fact ✦
Most “impossible” bugs are a typo you have stared at for two hours. Take the walk. Really.
the docs
quick hits about Problem Solving
15-second answers · interviews, tips, trivia & hidden gems
📚 tutorial
Binary-search your own code
🔧 useful
Flaky repro means flaky fix
🔧 useful
Steps to reproduce IS the debugging
💎 deep
Take the walk