Plus

This lesson is part of Plus

A Net You Can Build in Ten Minutes · Refactoring

Lesson 8 of 9 in Refactoring. Plus opens every course and every lesson, and new ones as they ship.

Price
$219/year
Refund
30 days

A Net You Can Build in Ten Minutes

Use in this lesson
2 promptsPlus

What if the codebase you're refactoring has no tests, or nothing covering the part you want to change? I'd always advocate for writing tests before you refactor, but if you can't (an incredibly legacy project, for example), there's still a way to do this safely: Snapshot real inputs and outputs.…

The full notes, transcript and prompts open with Plus.

Keyboard shortcuts

SpaceK
Play or pause
JL
Back or forward 10 seconds
T
Transcript beside the video
O
Outline
F
Fullscreen
ShiftN
Next lesson
?
This list

Shortcuts work while the video area has focus (click beside the video or tab to it), so they never clash with screen reader or speech input keys.

Single-key shortcuts