Ask HN: Vibe coding with reusable components to reduce hallucinations?

https://news.ycombinator.com/item?id=44912032
by zavg • 11 months ago
1 1 11 months ago

Idea: Instead of pure “vibe coding” (just letting ideas flow into code), what if we first vibe code a bunch of reusable components with well-defined, predictable APIs between them? Then we ask AI to vibe code using only these components.

The hope: by constraining the building blocks, we reduce unpredictable hallucinations that often happen when vibe coding an entire monolithic codebase from scratch.

Has anyone tried this? Does it work in practice?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com