Hacker News new | ask | show | jobs
Ask HN: Why/why not do you use opinionated formatters? (e.g. Black, Prettier?)
5 points by whiskey14 1299 days ago
1 comments

Why:

Avoid time wasting nit-picks on PRs.

Consistent formatting may be easier to quickly read.

Why not:

Avoid taking a dependency.

Avoid "fix formatting" commits (or the complexity of having a system auto-apply formatting).

Formatters don't always make the most readable code. Sometimes non-standard formatting actually communicates more clearly.