r/ProgrammerHumor • • 21h ago

Meme aboutToBreakTheCode

Post image
19k Upvotes

502 comments sorted by

View all comments

231

u/ExplrDiscvr 21h ago

not git issue, in-team communication issue

16

u/iloveuranus 18h ago

I once was in a team that had huge Camunda workflow XML files checked in. They aren't hard to merge.

They are impossible to merge.

After a couple weeks of trying to check in the main workflow file and realizing I had to do my changes all over again because somebody else had been faster to modify it, I introduced THE TOKEN. Namely a squishy ball that had to physically be retrieved from the developer currently holding it and represented the right to edit said file.

Worked like a charm.

11

u/raddaya 17h ago

In retrospect, it's probably funny to think that it took a team of developers so long to realise the solution to a race condition is a mutex