logoalt Hacker News

maratcyesterday at 2:27 PM2 repliesview on HN

> These tools don’t add extra commits.

When you replace tool x with tool y, you need to fix your code, because these tools do not agree on what your code should look like, and what was acceptable for tool x simply isn't for tool y.

One of these changes I mentioned brought a massive reformatting of all code base, as the new tool failed 'import' statements unless they were in alphabetical order.


Replies

OoooooooOyesterday at 7:41 PM

If you change the formatter for your project then yes, you have a single commit where you reformat your project and then commit this.

A single commit after a tool change. I don't see the problem.

MawKKeyesterday at 5:23 PM

Sounds like the issue is not the tools themselves, but that the project management / stewardship allows someone to replace tools willy-nilly leaving others to pay the cost of migration?

At $WORK we have "code guardians" whose responsibility is do to this kind of migrations strategically in the background. The intent is that most other developers should not need to do any (or very little) extra work beyond the task they are actively working on.

show 1 reply