727
Merge then review (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by agilob@programming.dev to c/programmer_humor@programming.dev

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

you are viewing a single comment's thread
view the rest of the comments
[-] silencioso@lemmy.world 21 points 2 years ago

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.

[-] redcalcium@lemmy.institute 14 points 2 years ago

Pair programming? Then the code is already reviewed.

[-] hglman@lemmy.ml 1 points 2 years ago

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.

[-] agilob@programming.dev 5 points 2 years ago

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?

[-] silencioso@lemmy.world 15 points 2 years ago

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

[-] Blackthorn@programming.dev 1 points 2 years ago

I would fire you for incompetence and sabotage. Problem solved.

this post was submitted on 14 Nov 2023
727 points (100.0% liked)

Programmer Humor

25324 readers
1158 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS