Merge then review

agilob@programming.dev to Programmer Humor@programming.dev – 722 points –

Move fast and break things.
Merge vulnerabilities.
Double the work.
Merge code without tests.
Anything, but don't let code become stale.

138

You are viewing a single comment

Before everyone loses their minds, in Extreme Programming there are safeguards other than PR reviews. Before you submit a PR, you are supposed to have written the tests and to have written your code with pair programming, so your code already has some safety measures in place. On top of that, when you merge and deploy, more tests are run, and only if all of them are green do your changes go into production.

Pair programming? Then the code is already reviewed.

Yes, that's part of the point. Dumping all at once into a merge and asking people to comprehend it all isn't particularly realistic.

you are supposed to have written the tests and to have written your code with pair programming,

I commented out the tests because they were failing, pipelines were green so I merged. Now it's running on prod. What do you do?

Fire you for destroying the tests. It's intentional sabotage.

Give you public kudos for moving fast and breaking things. We need more fearless cowboys like you around here

3 more...