Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: How could vibe coding show the code at a high level to non-programmers?
4 points by amichail 11 hours ago | hide | past | favorite | 7 comments
That is, instead of just showing the user the code it wrote, is there a better way to show the program at a higher level that a non-programmer would understand (without just running it to show what happens)?





What value is there in showing a non programmer code or an abstraction?

If you want to vibe code tests are likely a guardrail to ensure quality over time


You can’t, because the reason the code exists is because you need its formality in order to eliminate ambiguity. Everytime code is explained without showing the code, there’s a baseline of understanding that’s required to filter the additional ambiguity.

The only approach left is to refer to the domain. As the person is familiar with it, you illustrate the behavior that is currently programmed by the system. The program itself should be a blackbox. Only knobs and sliders should be left (aka any professional software).


I'm having the LLM work with human-readable behaviors for each component. You can have the LLM take those behaviors and create a Mermaid diagram, for instance.

Maybe the AI could capture video of program runs and then show the user representative small clips from these videos that depict distinct features?

Reverse engineer it into scratch? (or similar block-based beginner-friendly language, with comments)

Visual programming

I always ask it to create some documentation.



Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: