unsloppable
Tokens are cheap. Quality is what matters.
Most of my sites start as a copy of an existing site as if it's a framework and then I clear out the product and just use the shell to build from. The result is that the agent is pretty good at replicating existing patterns and if I ever hit something similar I can just tell it to look up prior art in other projects.
The initial learning curve was definitely there, and I still hit edge cases as mentioned above. I just don't have to resolve the "how do I handle auth + middlewre + htmx targeting for a form in an admin screen (for a random example).
Async JavaScript using callbacks had a learning curve, but once you learned how to contain it and treat callback indentation as an opportunity to refactor it felt similar to coding in lisp.
The problem was the learning curve, and the fact you had to rewire your brain a bit compared to coding in something procedural.
I have most of my apps in it without much trouble.
One of my recent ones had a very complicated form and state management.
AI really struggled with HTMX in that use case.
Like the form might work but the page would take 30s to load. Or some state would randomly drop or a toggle wouldn't work after changing a dependency.
If I rewrote that in react it would have one shot it without a doubt. Some things are just better models for different problems.
For the record I eventually got enough tests in place to keep the agent honest and the HTMX version is now a lot faster anything I could have got out of react but yeah, it was an adventure.
If open AI wants to be taken seriously it needs to live up to its name.
Anthropic won't ever change.
We saw the same thing happen with mobile first on websites.
Or render a low fidelity 3d model for coherence and then raytrace that onto a 2d frame that is then rendered at higher fidelity.
You need to decouple it, but you dont need to remove it.
The text is AI models produce is incredibly dense and the way it structures sentences just makes long form reading excessively hard.
I basically wanted something that could expand copy into components of "meaning" and then dump the output back out in more normal language.
What I came up with is still "AI generated" but the readability is something passable.
Will definitely be taking a look through this and the recommendations.
One question: what do you use your old refs for?
We just delete them when we get too many.