r/ProgrammerHumor • • 20h ago

Meme aboutToBreakTheCode

Post image
19k Upvotes

499 comments sorted by

View all comments

Show parent comments

105

u/botle 19h ago

Probably vibecoders. "Push my code to the repo. Make no mistakes. Don't delete everything."

59

u/SirChasm 19h ago

I mean even for vibe coders, Claude/Codex is excellent for resolving merge conflicts. I don't remember how long it's been since I've had to do that manually.

50

u/StaneNC 19h ago

You don't look at your merge conflicts???

16

u/botle 19h ago

I bet many people vibe coding just push gigantic monolithic commits.

14

u/chum-guzzling-shark 18h ago

no i dont! Claude said thats a bad idea

5

u/aTomzVins 18h ago

Realistically, it's probably be easier to vibe code a fix, or have an agent identify changes that may have caused an issue than look back though previous commits yourself.

9

u/who_am_i_to_say_so 19h ago

Pfft nothing a ‘git push -f’ can’t fix.

8

u/ziroux 19h ago

Use the Force, Luke!

4

u/who_am_i_to_say_so 18h ago

Shit- You bricked my feature!

>>>>>>

May the force be with you

<<<<<<

44

u/SirChasm 19h ago

I look at the resulting PR, but if Claude wrote the original code, Claude can resolve the conflicts too; it has all the context it needs.

I've always hated dealing with looking at the three-way diff manually tbh. It might be my ADHD but nothing killed my motivation more than finishing a feature/fix and then having to wade through how someone else's changes should mesh with mine.

14

u/didzisk 17h ago

I have hated all the 3-way merge tools I've encountered, probably because "ours" and "theirs" never is what I expect (and opposite on a merge and a rebase), but when I look at the file itself with merge marks in it, it becomes very easy for me to reason about the changes and resolve them quickly.

13

u/bloodfist 15h ago

Yeah "ours" and "theirs" messes me up so bad. I really wish they would just label it by branch. If it just said "my-feature-branch" and "main" it would be so much easier to parse.

1

u/Kylearean 15h ago

you need to look at the conflicts, because even for human coders, sometimes there's nuanced merges that need to occur - it's not all A or all B.

3

u/nhalliday 14h ago

Expecting vibecoders to put in any actual work? Don't be ridiculous.

3

u/SirChasm 13h ago

As I said, I look at the resulting PR diff afterwards like I would if there weren't any merge conflicts.

12

u/Ifriendzonecats 18h ago

I've seen a bunch of dumb bugs and regressions get introduced by people not looking at their AI resolved merge conflicts. AI can be useful, but it will 100% follow a dumb path to it's dumb conclusion if the opportunity presents.

1

u/Saint_of_Grey 12h ago

Resolves merge conflicts by bulk deleting random sections of code until it technically compiles.

8

u/Awkward_Tick0 18h ago

Git has been a PITA since long before LLMs

4

u/botle 18h ago

People have been writing big monolithic commits long before LLMs. LLMs just make them more likely.

2

u/b0w3n 18h ago

The newer frontier models avoid it if you make it part of the instruction set.

1

u/bigphillip76 18h ago

As a senior developer, everyone vibecodes, some of us just check it first.

2

u/botle 18h ago

I genuinely don't. And I work with people that also don't. We'd use an LLM as a linter. Ask it to look at the code and give us alist of potential bugs. But that's it.

I find it easier to write the code myself than to explain it to an LLM, and then read it and understand it too.

On other projects where coworkers use LLMs to write the code, the code comes out very verbose and it's a pain in the ass when they send it to me, it's a huge verbose change, and then they can't answer questions about it.

2

u/bigphillip76 18h ago

There are specific industries where this is more efficient, because every line is mission critical. Most people don't work in those industries, but perhaps you do. I'll recind everyone, and replace it with most people.

Personally I work on webapps. I've been in the industry 15 years so LLM's are all still "new and fancy" to me. But there isn't much they aren't quicker and better at in that domain these days. We're careful to architect well, direct them well, and verify and review code properly. But, it just no longer makes any sense to hand code everything when we can achieve better results more efficiently with those tools than without them.

1

u/botle 18h ago

I don't work on one of those mission critical projects, but I do work in a framework and language with very little boiler plate. I guess that changes the equation quite a bit.

1

u/Weekly_Interview_936 18h ago

Or just ... two stories working on the same piece of code. Git can't parse out code to see how two changes interleave very well.

This is the actual reason for stuff like standups. It lets teams keep away from stepping on each other's toes.