News for hackers. Stuff that matters.
Re:Twenty Years Is Nothing by vladms on Wednesday March 06, 2024 @08:09AM (#39615560)
Simple thing that gets lost: someone adds very long comment on one line (maybe has word wrapping on); someone formats the comment to be on multiple lines; diff will be a mess even if there is no text difference in the actual comment.

One thing to investigate would be to include AST (abstract syntax tree) concepts in the source control or tools (although for comments might not solve the issue). Renaming a variable, moving a function around and other cases would be caught by an AST aware source control, but they are not today.

There are no comments on this comment yet.