Have you tried doing it on your own as comparison?
Any lessons why that might be true?
Are you missing some design/brainstorming stage that you are doing now by iterating through junk code and which might not be necessary?
You might be right now, but you gain experience that you otherwise lose by delegating to the LLM. With experience the reverse might be true.
Is it all just throw away code to test out ideas?
Would libraries to help abstract stuff and you writing a few lines at a higher lever be better?
Since you throw away most of the code, could you design a bit before jumping to code and just develop something near desired solution?
I don't need AI to generate code.
Pipelines are non existant (who wants useless code?, just make better abstractions)
Copy-and-paste code is non existant - taboo to duplicate, just find libraries to reuse within the project or write them.
I don't need it to write tests, I want to write tests myself to force myself to think of the problem.
Code base is large enough that it's generally useless for search (and old tools work much better)
And I don't see what else it would be useful for though I'm trying. (writing a class skeleton?, maybe?, but then, I can do that fast as well)
If I find any API I want to use I let the Claude built an API wrapper for me. Or any other specific issues that typically end up in a Lib.
So a isolated, single purpose file that doesn't depend on any other files where the code base already includes similar files where it can steal the style from.
This is a situation where it does really well usually without breaking anything.
Alternative, if it's web calls then openAPI and a specific generator will work faster long term... (write generator once then import swagger files for whatever you need or tell claude to generate the swagger if not available?)
That would help with api changes longer term (just update swagger file, regen code and update where needed)
If it's actual library calls (C/C++), then why would wrapper be needed?, doesn't add yet-anothet-layer that makes things more difficult to grasp?
Usually I just send a link to the API doc with a sentence or two to let it wrap one or two functions leading to small, specialized and mostly efficient wrappers without overhead. Easy to fix should something change.
It's just a random aspect where I find AI to work really well for coding (for me).
(Especially for html layouts and repetitive changes)
d00mB0t•3h ago
cookiemonsieur•1h ago