logoalt Hacker News

ForHackernews • last Wednesday at 9:13 PM • 3 replies • view on HN

> Do you think that Claude Code is doing something like brute force when it writes a computer program for you?

Yes, absolutely. Do you use Claude? How many times a day do you ask it a question, and it says, "Wait, let me not speculate, I'll ground this in a real experiment to check..." and then it goes off to /tmp/ and clones 10 copies of the repo, runs 10 (or 50, or 1000) different variations and comes back to report the results.

It's absolutely wonderful to have that flexible orchestration layer, but it's not like it's a genius programmer that just gets things right on the first shot.


Replies

jubilanti • last Wednesday at 9:22 PM

That's not what brute force means, at least in CS theory. Brute force means you have to iterate through the entire solution space until you find a solution. Think gradient descent. Solving it the naive way is brute force, solving it with a heuristic approach is more optimal and thus not brute force.

➕ show 2 replies
ethin • last Wednesday at 11:42 PM

> ... clones 10 copies of the repo, runs 10 (or 50, or 1000) different variations and comes back to report the results.

I have never, once, seen Opus 5.5 do this. I have seen it make mistake,s or not fully implement/spec something, but I have never seen it try 100 different possibilities unless it genuinely gets stuck, whereupon I just tell it to use a debugger and it pretty much figures it out from there. (I wonder who will claim I'm AI since I used the word "genuinely"?)

➕ show 1 reply
subhajeet2107 • yesterday at 3:44 AM

Yes it does, people are not just good at explaining things and asking properly, thats a you problem that an llm has to do so many things