logoalt Hacker News

memorylanelast Sunday at 9:27 PM1 replyview on HN

Dunno about you, but I find thinking hard… when I offload boilerplate code to Claude, I have more cycles left over to hold the problem in my head and effectively direct the agent in detail.


Replies

mockinglorislast Monday at 12:45 AM

This makes sense. I find that after 15 to 20 iterations, I get better understanding of what is being done and possible simplifications.

I then manually declare some functions, JSDoc comments for the return types, imports and stop halfway. By then the agent is able to think, ha!, you plan to replace all the api calls to this composable under the so and so namespace.

It's iterations and context. I don't use them for everything but I find that they help when my brain bandwidth begins to lag or I just need a boilerplate code before engineering specific use cases.

└── Dey well