I've had very good results with Claude Code using this workflow.
Ask HN: How can I get better at using AI for programming?
21–30 of 491 posts
Re: Ask HN: How can I get better at using AI for programming?
#22Re: Ask HN: How can I get better at using AI for programming?
#23Re: Ask HN: How can I get better at using AI for programming?
#24put an example in the prompt: this was the original Django file and this is the rewritten in SvelteKit version.
the ask it to convert another file using the example as a template.
you will need to add additional rules for stuff not covered by the example, after 2-3 conversions you'll have the most important rules.
or maybe fix a bad try of the agent and add it as a second example
Re: Ask HN: How can I get better at using AI for programming?
#25Using voice transcription is nice for fully expressing what you want, so the model doesn't need to make guesses. I'm often voicing 500-word prompts. If you talk in a winding way that looks awkward when in text, that's fine. The model will almost certainly be able to tell what you mean. Using voice-to-text is my biggest suggestion for people who want to use AI for programming (I'm not a particularly slow typer. I can…
That's a fun idea. How do you get the transcript into Claude Code (or whatever you use)? What transcription service do you use?
Re: Ask HN: How can I get better at using AI for programming?
#26Using voice transcription is nice for fully expressing what you want, so the model doesn't need to make guesses. I'm often voicing 500-word prompts. If you talk in a winding way that looks awkward when in text, that's fine. The model will almost certainly be able to tell what you mean. Using voice-to-text is my biggest suggestion for people who want to use AI for programming (I'm not a particularly slow typer. I can…
Thanks for the advice! Could you please share how did you enable voice transcription for your setup and what it actually is?
I use a keyboard shortcut to start and stop recording and it will put the transcription into the clipboard so I can paste into any app.
It's a huge productivity boost - OP is correct about not overthinking trying to be that coherent - the models are very good at knowing what you mean (Opus 4.5 with Claude Code in my case)
Re: Ask HN: How can I get better at using AI for programming?
#27Re: Ask HN: How can I get better at using AI for programming?
#28Using voice transcription is nice for fully expressing what you want, so the model doesn't need to make guesses. I'm often voicing 500-word prompts. If you talk in a winding way that looks awkward when in text, that's fine. The model will almost certainly be able to tell what you mean. Using voice-to-text is my biggest suggestion for people who want to use AI for programming (I'm not a particularly slow typer. I can…
Thanks for the advice! Could you please share how did you enable voice transcription for your setup and what it actually is?
Re: Ask HN: How can I get better at using AI for programming?
#29How did you learn how to use AI for coding? I'm open to the idea that a lot of "software carpentry" tasks (moving/renaming files, basic data analysis, etc) can be done with AI to free up time for higher level analysis, but I have no idea where to begin -- my focus many years ago was privacy, so I lean towards doing everything locally or hosted on a server I control so I lack a lot of knowledge of "the cloud" my HN be…
Open up cursor-agent to make the repo scaffolding in an empty dir. (build system, test harness, etc. )
Open up cursor or Claude code or whatever and just go nuts with it. Remember to follow software engineering best practices (one good change with tests per commit)
Re: Ask HN: How can I get better at using AI for programming?
#30Consider giving Cursor a try. I personally like the entire UI/UX, their agent has good context, and the entire experience overall is just great. The team has done a phenomenal job. Your workflow could look something like this: 1. Prompt the agent 2. The agent gets too work 3. Review the changes 4. Repeat This can speed up your process significantly, and the UI clearly shows the changes + some other cool features EDIT…
How does Cursor compare to Claude Code or Codex?