Comment by spockz

2 days ago

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.

> > 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.