←back to thread

434 points crawshaw | 3 comments | | HN request time: 0s | source
Show context
kgeist ◴[] No.43998994[source]
Today I tried "vibe-coding" for the first time using GPT-4o and 4.1. I did it manually - just feeding compilation errors, warnings, and suggestions in a loop via the canvas interface. The file was small, around 150 lines.

It didn't go well. I started with 4o:

- It used a deprecated package.

- After I pointed that out, it didn't update all usages - so I had to fix them manually.

- When I suggested a small logic change, it completely broke the syntax (we're talking "foo() } return )))" kind of broken) and never recovered. I gave it the raw compilation errors over and over again, but it didn't even register the syntax was off - just rewrote random parts of the code instead.

- Then I thought, "maybe 4.1 will be better at coding" (as advertized). But 4.1 refused to use the canvas at all. It just explained what I could change - as in, you go make the edits.

- After some pushing, I got it to use the canvas and return the full code. Except it didn't - it gave me a truncated version of the code with comments like "// omitted for brevity".

That's when I gave up.

Do agents somehow fix this? Because as it stands, the experience feels completely broken. I can't imagine giving this access to bash, sounds way too dangerous.

replies(30): >>43999028 #>>43999055 #>>43999097 #>>43999162 #>>43999169 #>>43999248 #>>43999263 #>>43999272 #>>43999296 #>>43999300 #>>43999358 #>>43999373 #>>43999390 #>>43999401 #>>43999402 #>>43999497 #>>43999556 #>>43999610 #>>43999916 #>>44000527 #>>44000695 #>>44001136 #>>44001181 #>>44001568 #>>44001697 #>>44002185 #>>44002837 #>>44003198 #>>44003824 #>>44008480 #
visarga ◴[] No.43999097[source]
You should try Cursor or Windsurf, with Claude or Gemini model. Create a documentation file first. Generate tests for everything. The more the better. Then let it cycle 100 times until tests pass.

Normal programming is like walking, deliberate and sure. Vibe coding is like surfing, you can't control everything, just hit yes on auto. Trust the process, let it make mistakes and recover on its own.

replies(2): >>43999458 #>>43999859 #
prisenco ◴[] No.43999458[source]
Given that analogy, surely you could understand why someone would much rather walk than surf to their destination? Especially people who are experienced marathon runners.
replies(1): >>43999631 #
fragmede ◴[] No.43999631[source]
If I tried standing up on the waves without a surfboard, and complain about how it's not working, would you blame the water or surfing for the issue, or the person trying to defy physics, complaining that it's not working? It doesn't matter how much I want to run or if I'm Kelvin Kiptum, I'm gonna have a bad time.
replies(1): >>43999976 #
prisenco ◴[] No.43999976[source]
That only makes sense when surfing is the only way to get to the destination and that's not the case.
replies(1): >>44000278 #
fragmede ◴[] No.44000278[source]
Say there are two ways to get to your destination. You still need to use the appropriate vehicle/surfboard for the route you've chosen to use. Even if there is a bridge you can run/walk across, if you try and surf across the water without a surfboard, and try to walk it, you're gonna have a bad time.
replies(1): >>44000382 #
prisenco ◴[] No.44000382[source]
Analogy feels a bit tortured at this point.
replies(2): >>44000974 #>>44002947 #
fragmede ◴[] No.44000974[source]
What a coincidence that now's the point it's tortured and not any earlier!
replies(1): >>44001079 #
1. Sharlin ◴[] No.44001079[source]
It was incredibly tortured from the get go and is screaming that it be put out of its misery.
replies(1): >>44001605 #
2. derwiki ◴[] No.44001605[source]
Look, my lad, I know a dead parrot when I see one, and I'm looking at one right now.
replies(1): >>44002009 #
3. latentsea ◴[] No.44002009[source]
I'm sorry, is this the full half hour argument or only the five minute one?