Ask HN: Why/why not do you use opinionated formatters? (e.g. Black, Prettier?)
by CleverLikeAnOx on 12/5/2022, 6:00:25 PM
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.
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.