r/coding • • Aug 22 '17

You're using git wrong

https://dpc.pw/blog/2017/08/youre-using-git-wrong/
30 Upvotes

71 comments sorted by

View all comments

Show parent comments

7

u/tonnynerd Aug 23 '17

It seems like you're assuming that the code review tool is the only communication channel. I don't know if there's any companies that do this, but where I work, the code review comments are supposed to be short pointers towards fixing the issues. If the author of the patch can figure it out on his own, great. If not, there's chat, email, and video conference channels that he can use to reach me. The author of the patch is not required to figure everything out from the comments. It's good if he can, but it's expected that extra communication will be needed.

2

u/millenix Aug 23 '17

In my organization, we kinda encourage people to keep as much of their communication as possible in 'structured' media, connected directly to the issue or code in question. This makes it much more readily retrievable by others who need to understand it later, and traceable to people who need to understand it while it's still in flight.

1

u/tonnynerd Aug 23 '17

I see your point. I guess it's a bit of a trade off, and depends on tools too. We use Gerrit, which sucks at pretty much everything. If we had a somewhat better code review tool, I could see how keeping more of the discussion there would be helpful.

In any case, we often have private discussions and then the reviewer posts a sort of summary of it in the review, to kind of document it.

1

u/millenix Aug 23 '17

We use Gerrit too. It sucks, but the alternatives all seem to be worse for us in one fashion or another. And even if something better were readily available, it would have to be enough better to warrant the transition cost of at least our ongoing work.