Start learning →

Why prefer a diff over a full-file rewrite for edits?

ADiffs run faster on the server
BDiffs are required by the API
CDiffs save tokens and make intent surgical
DDiffs prevent hallucination entirely
Answer & Solution
Correct answer: C. Diffs save tokens and make intent surgical
Sending only changed lines is cheaper and the intent is unambiguous whole-file rewrites burn tokens and obscure what changed.
Practise this question with Quill — Claude AI →

Keep practising Claudeai Code

Browse all Claudeai Code questions for Claude AI, or explore more Claudearchitect topics.

Start a Claudeai Code lesson →
Related questions