logoalt Hacker News

namenotrequiredtoday at 8:34 PM1 replyview on HN

We do this too. In my team, my rule is: if it’s better than what’s on master, you approve and merge.

There’s no use making the customer wait for your questions, code style suggestions etc to be addressed.

Even if you request changes, you leave all your comments and make explicit which are the blocking ones and which can be addressed in the future.


Replies

allendoerfertoday at 9:28 PM

> In my team, my rule is: if it’s better than what’s on master, you approve and merge.

This causes unnecessary code changes later on, code changes mean new code, new code has bugs. The team should try to get it close to perfect on the first try instead. They won't, but that should be everyone's target. If that sounds impossible, then the PR was to big.