Grace, the owner of The Second Draft, an independent bookshop, sends you a note: a shelf count on the staff desk has gone below zero. Then a customer, Nadia, gets a refund that’s 150 pence short. Both bugs sit in code you didn’t write. In this course, you’ll take each report to a fix you can put your name on, with a saved check script that fails before the fix and passes after it. You’ll learn how to:
- Reproduce a bug report and cut it down to the records that matter
- Form a hypothesis a check could prove wrong and log values at the seams between modules
- Ask the Git history why a line changed, from
git blameto the pull request behind it - Let
git bisect runand your check find the commit that broke something - Fix the cause and nothing more, then recheck the invariants the change touches
- Check Code Mentor’s answers against logged values, and sign off a fix with its evidence
You’ll practice in exercises with automated tests and finish with a project: fixing Nadia’s refund and talking Margaret, who built the refunds code, through your sign-off.
This course is for programmers who know the JavaScript basics and can read an error message and log a value. It follows Finding Your Way Around a Codebase You Didn’t Write, but the first lesson shows you how to get the shop’s code if you’re starting here. You’ll need Node.js, Git, a terminal, a code editor, and a browser.
What’s Included:
- 20 Lessons
- Video Subtitles and Full Transcripts
- Translated Subtitles in 8 Languages
- 2 Downloadable Resources
- Interactive Quiz to Check Your Progress
- 8 Hands-On Coding Exercises
- Q&A With JavaScript Experts: Ask a Question
- Certificate of Completion
Downloadable Resources:
Related Learning Paths: