logoalt Hacker News

aorona • yesterday at 8:48 PM • 2 replies • view on HN

It would be nice ot just watch someone on YT walk through their process.

I've tried vibe coding on personal projects, its a mess. Agentic coding works but I find greenfield much harder to get good results with.

A big pain point for me is when I am working on a design and the agent gives me 10 items of which I want to revise 3, and it feels like I should be forking the context there instead of just chasing 1 of 10 and then drifting into a tangled mess of ideas.


Replies

perpetualpear • today at 1:05 AM

I'd suggest restarting the session with a smaller scope. Alternatively, identify which bullet points can be in-project infra, implement them in a clean session(s), then restart your original session telling it to use the new doohickey. The models work best when they have examples, or fitting building blocks they can rely on. Without building blocks or examples, but with a large scope you will not get good results unless you spend a lot of time iterating.

Having written this, I realize my recommendation is to do vibe-junior. Just like you can't hand juniors a too complex task or expect them to identify systematic isssues, so can't LLMs. FWIW, this was Opus 5.5, I suspect dumber models will need more hand holding.

As the other commenter said, greenfield is harder to get good results

CodeWriter23 • yesterday at 11:29 PM

Greenfield requires even more of that discipline IMO. But often you don't really know the specs until prototyping.

The good news, code is ultimately disposable now that you can crank it out in assembly line fashion. Combine that with, you can also have the LLM rewrite your spec ; ) So start small and build. Then you can find out where the garbage is, add some new ideas. Now normally we would call that `Technical Debt`. Instead what you do is have the Agent rewrite your original spec and tell it what to keep and what to delete. Carefully review the new revision for alignment with your design goals. Re-engage the gap analysis if necessary.

New project > make plan from Rev [n] of script. Iterate until happy with result.