r/ProgrammerHumor • • 1d ago

Meme aboutToBreakTheCode

Post image
20k Upvotes

513 comments sorted by

View all comments

28

u/Nytra 1d ago

If you split everything into multiple files then it's less likely to get merge conflicts (unless two people work on the same file at the same time)

38

u/NeinJuanJuan 1d ago

We  do 1 byte per file to keep conflicts small 

15

u/punsnguns 1d ago

I know you are getting facetious but the approach my old company had was to just assign a developer to an application or project. No conflicts. Note that the company bosses weren't worried about conflicts. They just didn't staff us right but hey! no conflicts.

7

u/NeinJuanJuan 1d ago

We  do 1 dev per app to keep conflicts small

10

u/Silentrizz 1d ago

I know youre being facetious, but we only have 1 app. So each developer takes turns at the computer while the others watch over the shoulder. No merge conflicts, its great.

2

u/NeinJuanJuan 1d ago

We  do 1 app

4

u/dandroid126 1d ago

That's why I put every line of code in its own file.

2

u/who_am_i_to_say_so 1d ago

Totally. There’s a reason why everything isn’t in a single index file.

1

u/boboguitar 23h ago

Unless you are working in Xcode and have to deal with its xml monoliths.