Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shaunxcode
· 5y ago · 0 comments
Yes! This would also do away with a whole class of conflicts related to whitespace/formatting.
Comments
[–]
throw10920
5y ago
Exactly! Imagine a version control system where you get diffs on the AST tree, instead of the characters that make up the source (add an `if` and suddenly dozens of lines have "changed"), or the tabs/spaces flamewar evaporating instantly.
[–]
account42
5y ago
Nothing is stopping your current version control tool from parsing the code and showing a structural difff now.