Live data from Hacker News

Show HN: Huzzah – a novel approach to coding with AI

danielvaughn.dev

21–30 of 178 posts

Re: Show HN: Huzzah – a novel approach to coding with AI

#22

Hmm. Interesting idea. What about multi-file / larger changes? How would you express files being connected, imports, and exports? Or are you thinking the hz files are disposable per change?

The intention is for the files to persist, and I didn't mention it, but a core part of the system is that the editor persists source maps. So at any point in time, you can map any generated line back to the line of pseudocode that generated it. I'll be looking into multi-file stuff soon - it's an interesting can of worms to think through.

Having hz files also opens a really interesting idea of using them as a form of static analysis and CI validation.

Re: Show HN: Huzzah – a novel approach to coding with AI

#27
post #7

You seem to be conflating two things: how to prompt, and how to share sessions. You can already use pseudo-code today if you want to. As for sharing, you can commit (a link to) it, use `git notes` (as I do), or a service like entire.io. I think you should work on your differentiation. The session management stuff is the greater concern, in my opinion; pseudo code is not a novelty.

[deleted]

Re: Show HN: Huzzah – a novel approach to coding with AI

#29
> There’s no reliable record of human intent.

Every engineer I have ever mentored got a lesson on how to write a good commit message that included this. This is exactly that.

Further Huzzah from skimming it over seems to be re-inventing documenting your code.

Together I can only surmise that the author is new out of school or has simply not yet worked on a team with good coding practices.

Re: Show HN: Huzzah – a novel approach to coding with AI

#30

not sure if the hz file artifact is needed, you can enter pseudocode directly into chat or even on an existing code file and with minor comment agents will be able to work with it. i write this type of pseudocode to existing code files often to great results.

Yes, I also wrote this kind of pseudocode. But to make full use of it, you'd want to persist it, and to maintain a map between the lines of your pseudocode and the lines of your real code. It's not practical to do this manually, you'd want these mechanics built into your editing system.
Post reply on HN