Instant-feedback, instant-debugging Python coding
summary
A working prototype runs code after every keystroke and places per-line program state next to the source, eliminating print statements, logs and context switches. It overrides the built‑in Python debugger to track execution continuously, demonstrates binary search with live iterations, fetches images via requests behind a cache to avoid repeated network hits, and simulates a PID‑controlled Segway where tuning P/I/D visibly stabilizes and then drives the model — the demos are interactive and they work.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:49Instant-feedback, instant- debugging Python coding
- 4:43The unreasonable effectiveness of spreadsheets
- 5:05Configuration madness
- 5:28Modern snobbery
- 6:45Understanding the code instead of understanding the problem
- 7:04Confession time
- 9:11Internals: Overriding the debugger
- 15:47Handling external dependencies
- 16:17Example: Web scraping
- 17:45Example: Segway controller
- 26:34A segway bicycle for the mind
related talks
47mREPL-driven development
09mOmnicode: A Novice-Oriented Live Programming Environment with Always-On Run-Time Value ...
28mGoodbye Print, Hello Debugger!
30mHow to change Python (while it's running)
31mGoodbye Print, Hello Debugger!
25mTime Travel Debuggers
05mDebugging with vim, tmux, and pudb
25mLive Programming and Programming by Example: Better Together
