News for hackers. Stuff that matters.
Re:Don't post generated/AI-edited comments. HN is for conver... by spockz on Thursday March 12, 2026 @09:19AM (#47350173)
Indeed, it doesn’t matter too much, as long as it is consistent.

People running their own formatting or changes re-adding spaces, sorting attributes in xml tags, etc. All leading to churn. By codifying the formatting rules the formatting will always be the same and diffs will contain only the essence.

Re:Don't post generated/AI-edited comments. HN is for conver... by josephg on Thursday March 12, 2026 @10:28PM (#47360014)
> > programmers care way too much about consistency.

> Indeed, it doesn’t matter too much, as long as it is consistent.

Um, I think you may have missed my point. Why does it always need to be consistent?

The problems you're talking about only show up when someone runs a formatter over the entire file. One answer is, just don't do that.