Re:Ask HN: Are diffs still useful for AI-assisted code changes?
by veunes on Thursday January 15, 2026 @05:18AM
(#46630546)
The tools exist, they're just rarely used in web dev. Look into ApiDiff or tools using Tree-sitter to compare function signatures. In the Rust/Go ecosystem, there are tools that scream in CI if the public contract changes. We need to bring that rigor into everyday AI-assisted dev. A diff should say "Function X now accepts null", not "line 42 changed"
My question is slightly orthogonal though: even with a cleaner diff, I still find it hard to quickly tell whether public API or behavior changed, or whether logic just moved around.
Not really about LLMs as reviewers — more about whether there are useful deterministic signals above line-level diff.