News for hackers. Stuff that matters.
Re:Don't post generated/AI-edited comments. HN is for conver... by Cthulhu_ on Thursday March 12, 2026 @07:12AM (#47349086)
Code formatting is a bit different though, at least if you're working in a team - it's not your code, it's shared, which changes some parameters.

One factor is "churn", that is, a code change that includes pure style changes in addition to other changes; it's distracting and noisy.

The other is consistency, if you're reading 10 files with 10 different code styles it's more difficult to read it.

But by all means, for your own projects, use your own code style.

There are no comments on this comment yet.