Re:Software engineering topics I changed my mind on
by chenmike on Saturday January 23, 2021 @08:09PM
(#25887805)
Just use a linting tool? Using a linter allows me to care a lot about formatting (which I do) while not consuming a ton of my team’s time enforcing it.
[ Parent
| on HN ]
Re:Software engineering topics I changed my mind on
by dboreham on Saturday January 23, 2021 @08:20PM
(#25887892)
Then you get to have many meetings about which litter and lint rules to use.
Re:Software engineering topics I changed my mind on
by chenmike on Saturday January 23, 2021 @08:26PM
(#25887961)
This is a tiny fraction of the time that it takes to comment on PRs/CLs in perpetuity. The alternative is just to literally not care about formatting which if you are able to do more power to you, but I could not imagine working on such a team. To me it’s somewhat akin to saying that all that matters in writing is the ideas, not the formatting of a document.
Re:Software engineering topics I changed my mind on
by jogjayr on Saturday January 23, 2021 @08:38PM
(#25888082)
Organize one meeting, tell everyone you don't care which one but they have to decide on one by the end of the meeting. Otherwise you're deciding one for them (phrase it as "I have a PR ready to go adding this one"). Assuming you have the sufficient authority (managerial, technical, or buy-in from your manager) for such an ultimatum, of course.
Re:Software engineering topics I changed my mind on
by disgruntledphd2 on Sunday January 24, 2021 @07:26AM
(#25891482)
This is why I like black, for Python. It doesn't have any configurable settings, which means way less arguments.
Re:Software engineering topics I changed my mind on
by dimtempo84 on Saturday January 23, 2021 @08:14PM
(#25887831)
Yes, we use golangci-lint for our few Go projects, which works well. However, most of our projects are in Java, and the mistake of our team was to never have our Checkstyle break the build. So, the result is many Java repos with a variety of coding styles.