Lurker News
Hello everyone. I've been working on this experimental editor called Huzzah.

I've been working almost exclusively with coding agents since January of this year, and over the past few months I began to feel utterly exhausted by them. They're great, but I'm finding it more and more tedious to write full sentences for every change I want. Not only that, but it seems there's a complexity limit for codebases - beyond a certain point the agent begins confusing itself.
I'd like to go back to writing code, but I don't want to go all the way back to fully manual coding. So I've come up with this interaction paradigm where you:

  1. write pseudocode in whatever way makes the most sense to you
  2. on save, the editor synchronizes your work to real source code
  3. the pseudocode is persisted alongside the generated code, making your prompt effectively a stored record of intent.
It may not work for every use case, but in my initial playthroughs I've found it very enjoyable.

Right now it's just a proof of concept - installation instructions are here in the readme: https://github.com/danielvaughn/hz
You can also watch a video of it in action here: https://x.com/danielvaughn/status/2090456808431165715
Cheers!

Comments (209) 112 threads

Earlier comments
lnrd1 reply#
This is a step in an interesting direction for many reasons. First of all it reduces the "conversation in english" aspect and goes back to kinda "writing code" which I think would reduce a lot of fatigue and bring back some joy in making software. But then it also gives more control over the output in a way that makes sense: I know how i want to code this, but I can save time not having to deal with the syntax/boilerplate/actual writing. Also since I structured everything precisely, reviewing is going to be way easier. It requires though yet another mental shift in how to code: you stop chatting and you go back to writing in a text editor similarly to what you did before, the difference is that now you write some kind of scaffold instead than the actual code.

It has two problems though: if my approach has flaws the agent would implement it as-is even if could instead suggest an improvement. Also, an advantage of agents in huge codebases is that they can find where to make the change and draft it, which wouldn't work with this system.

michaelmior1 reply#
> an advantage of agents in huge codebases is that they can find where to make the change and draft it, which wouldn't work with this system.

I think you could go meta here and ask the agent in English to modify your pseudocode for larger changes.

danielvaughn#
In practice I think a lot of engineers would do this. My recommendation would be to avoid this at all costs. In my opinion, the way to scale a codebase with AI is to have some part of the codebase that is reserved only for human hands. You need to be able to look at something written, and to know that it expresses human intent. Once you deviate from that constraint, then you might be even worse off than before, because now you have 2 sets of generated source code to sift through, not 1.
piterrro1 reply#
You could write that pseudocode as a prompt for the agent and get the same result. Use plan mode to understand what agent wants to do.

Am i missing anything?

danielvaughn#
the difference is that you lose the prompt, and even if you kept the prompt around, there's no built-in mechanism that ties your prompt to the exact code that it produced. with this editor, that's all automated for you.
lofaszvanitt1 reply#
It's tiring to see how people in the seemingly know dance around the issues an noone gets to the point, noone solves anything.
JrProgrammer1 reply#
What is your solution to this problem? Surely ranting about it online isn't going to help?
lofaszvanitt#
This isn't a rant, this is an observation or conclusion. I'm amused how clueless people really are. I mean, it's mind boggling how vast the desert of the emptymindedness is in this forum.

My solution? I'm waiting for someone to make it, since I'm lazy... until then that's my secret.

TomGarden1 reply#
Interesting idea! I wonder if, after some iteration, a variation on this could help curb some of the LLM spaghetti mess
danielvaughn#
That's definitely the goal. If the pseudocode is only ever touched by humans, then it will act as a frame of reference that could keep the LLM generated code in check.

Load more comments