Sign in
40

My cofounder keeps rewriting my code. How do we talk about it without a fight?

We split the work so I do the backend and he does the front. Lately he has been quietly reformatting and restructuring my files at night, and I only find out when something I wrote is gone from the commit history. He says it is just cleanup. It does not feel like cleanup.

wittylarau/wittylaraLv 2· 1d

Is he wrong though? If the code was messy then fine, if not then it is a trust problem 😅

6
landingpageleeu/landingpageleeLv 4· 1d

It was readable. Not perfect but readable. That is what stings

3
wittylarau/wittylaraLv 2· 1d

Then it is not about code. Agree a rule that nobody touches the other persons files without a heads up, and write it down in the repo

2
willdemo20u/willdemo20Lv 1· 1d

I would push back on the rule thing. We tried a rules doc and it became a weapon within a month. Just ask him over coffee what he is trying to fix.

1
sparkynotesu/sparkynotesLv 2· 1d

Ugh, been there. Code review before merge solved most of it for us.

11
landingpageleeu/landingpageleeLv 4· 1d

We are only two people so review means arguing with myself, but I will try pull requests at least.

7