r/ProgrammerHumor • • Oct 13 '26

Meme aboutToBreakTheCode

Post image
23k Upvotes

544 comments sorted by

View all comments

Show parent comment

83

u/nokk Oct 13 '26

Yeah and they are handled pretty elegantly considering how awful it could be.

10

u/TheBestBigAl Oct 13 '26

I agree. Generally even editing a somewhat-similar part of the file is handled seamlessly.

Once in a blue moon I'd run into the situation where me and someone else have worked on the exact same block of code, and that went one of two ways:

  1. We essentially made the same change, which made resolving the conflict really easy (naturally I would keep my perfect change and drop my colleague's terrible one).
  2. We made totally different changes to fix/implement two different issues, which means that part of the code has a fundamental design problem and needs to be rewritten entirely.

0

u/[deleted] Oct 13 '26

[deleted] — view deleted comment

28

u/botle Oct 13 '26

Yes. Unless people are writing gigantic monolithic commits. Merging is pretty elegant.

0

u/[deleted] Oct 13 '26

[deleted] — view deleted comment

19

u/botle Oct 13 '26

Yes, elegant. As in a simple efficient solution to a complex problem. Elegant.

0

u/[deleted] Oct 13 '26

[deleted] — view deleted comment

14

u/botle Oct 13 '26

It does more than that.

0

u/[deleted] Oct 13 '26

[deleted] — view deleted comment

9

u/botle Oct 13 '26

Busy. Ask your AI.

0

u/[deleted] Oct 13 '26

[deleted] — view deleted comment

→ More replies

3

u/walterbanana Oct 13 '26

In SVN there was no way to deal with conflicts

3

u/iloveuranus Oct 13 '26

SVN

cries in CVS

1

u/nokk Oct 13 '26

Yep 👍 that's the word I used. Anything else?

1

u/raddaya Oct 13 '26

It may feel inelegant and messy when you're going through a big ass merge conflict, but if you actually think about what's going on then you'll realise git handles it insanely well considering how complex it really is under the hood.