Settings

Theme

Ask HN: Why/why not do you use opinionated formatters? (e.g. Black, Prettier?)

5 points by whiskey14 3 years ago · 1 comment

Reader

CleverLikeAnOx 3 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection