r/ProgrammerHumor • • Oct 13 '26

Meme aboutToBreakTheCode

Post image
23k Upvotes

542 comments sorted by

View all comments

31

u/Nytra Oct 13 '26

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)

40

u/NeinJuanJuan Oct 13 '26

We  do 1 byte per file to keep conflicts small 

16

u/punsnguns Oct 13 '26

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.

6

u/NeinJuanJuan Oct 13 '26

We  do 1 dev per app to keep conflicts small

9

u/Silentrizz Oct 13 '26

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 Oct 13 '26

We  do 1 app

5

u/dandroid126 Oct 13 '26

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

3

u/who_am_i_to_say_so Oct 13 '26

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

1

u/boboguitar Oct 13 '26

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