Re:Ask HN: How to help an engineering team come to a consens...
by shoo on Monday March 14, 2022 @05:49AM
(#30670365)
> automate it
this is such good advice, at least for low hanging fruit where there is already a solid tool for automating it.
by running code formatters such as `go fmt` or python's `black` as a mandatory lint stage in CI (or git pre-commit hooks or whatever) you never have to argue about code style again. everyone can be equally annoyed by the style spat out by the formatter, and spend their energy arguing about something else.
There are definitely things that can’t _yet_ be automated like this but do as much as you can.
We still encourage discourse on our standards if engineers have opinions about them but you’ll never get widespread adoption without some sort of enforcement.