similar_text()
similar_text() is simple if you keep it on paper. Sara uses it for a similar_text dry-run in lab hour.
Keep similar_text() small. Sara should finish a similar_text dry-run in a few lines, not a 40-line dump.
similar_text() exists so Sara can keep a similar_text dry-run correct in lab hour.
Sara ships similar_text() in lab hour. That is the use case worth saying.
If a similar_text dry-run breaks under similar_text(), check skipping the failure case for similar_text first.
Place similar_text() next to nearby PHP work — one similar_text step Sara can write from memory is the link.
Close similar_text() with: “If I skip it, a similar_text dry-run goes wrong like this: skipping the failure case for similar_text.”
For similar_text(): definition + lab hour + one failure.