Comments in the code vs PR description

9 points by abareplace


var0xyz

While reading the article I got a weird uncomfortable feeling about putting all this information in the PR. After sitting with that for a while I realized what it was.

This is very valuable information, putting it all in the PR means that it's lost when you want to take your project to a different git server. I'm not surprised that this is not a consideration coming from a microsoft blog post, but as a FOSS developer this is a terrible idea.

My suggestion would be to treat PRs as bureaucracy. Keep the discussion scoped to the process, e.g. "this is what you need to do for this change to be accepted". The information that the author suggests seems to belong, imo, to the ticket. That's "the business side". Then there's the code, and PRs are the bridge between the two.

I don't know, that's how I see it, but to be fair I've worked in all kinds of environments where they worked the way the author describes too. So at the end of the day, if it works for you... :D