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
galaxyLogic#
Doing lots of programming over the years I've realized that I often need to write "code for myself", in my head, to think what I should do and in what order, and also why. I write to-do notes and notes on why something was best done or had to be done in a given way. Code is instructions for the computer, but developers need instructions too.

It always seemed to require extra effort to "program myself", maybe because it requires questioning whether I'm doing it the right way and what would be some alternative ways of doing it. It's almost like "out-of-box thinking".
Whereas basic coding is often as easy as writing this note here, just write what comes to my mind. Coding tasks are often trivial, but they must be done. But they don't really burden our mind too much, not too often.
But with AI, it's all about "programming the programmer".
And that requires more thinking, asking more questions like is this really what we need to accomplish, or would some alternative way be better? What alternative way?
Asking questions like that was always part of the work but with AI it seems to be the only type of work. And it is more difficult, more exhausting, than basic coding.

amemi#
It is useful to know the level of how "hands-off" to specify directions for each task. With some experience one can learn when to specify the high level requirements, and when to stop and think about the problem at hand.

For example, with frontend, I can get an LLM to design half a page 80% to my satisfaction with two paragraphs worth of a prompt. "It should look like so, and have a text box here, and room for a demo there".
With ML training or backend or user-facing code, I might instead spend a paragraph thinking out my design intentions for a single function or even a single line, more for myself than the LLM. A harness generates a plan based on that paragraph, which one can then comment on and review the pseudocode it provided, ensuring it aligns with expectations.
Lastly have the LLM output some sort of documentation and "here's what I did" after each change. Your final step is to handwrite (paraphrasing what it gave) into any docs or commit messages, and ensure your commits are small enough to keep this maintainable. Paraphrasing the LLM, rather than the LLM paraphrasing you, is helpful to ensure the commit messages make sense to you three months from now.

alanwreath1 reply#
At first I thought spec driven development would be an obvious solution to the deficiencies you’d laid out, but thinking a little more I’m concerned my original words and prompts which are “captured” in the roadmap, tech-stack, mission and the in subsequent feature documents doesn’t always preserve the exact prompt I’ve given and I’m concerned that something I said would be lost and then forgotten.
danielvaughn#
Yeah for sure. I think I made a mistake in neglecting to mention the core differentiator in this editor, which is that it maintains a source map from your pseudocode to the generate source. So as a codebase grows, you'll be able to point to the exact lines of your written prompt for any given line in the codebase. This way it acts as a frame of reference, for both agents and humans.
ramigb#
As I was reading and seeing the video, which is easier to demonstrate as you guessed, I was asking my self the same questions you answered in the "Caveats" section.

I love that you are trying something and you shared it, I relate very much to some parts of the post minus the fatigue part maybe I am it's because I am a very chatty person in general so prompting is not a problem who knows!
I had my own attempts to improve working with AI but to my fault I rarely commit to a project no matter if I wrote it or AI wrote it for me!
I tried this over a year ago https://github.com/ramigb/promachos (before I found out about spec kit and similar solutions) Then I tried this https://github.com/ramigb/groundcheck recently which is to actually help me in the review process specially if there is intent documentation like ADRs or similar.
Your post inspired me to try from a different angle. Thank you.

Load more comments