Earlier quoted context omitted.
I prefer writing myself, but I could see the appeal of producing a first draft of a prompt by dumping a verbal stream of consciousness into ChatGPT. That might actually be kind of fun to try while going on a walk or something.
You can feed all that into Claude and have a prototype ready while you get home. The Claude App version works from your phone and has a virtual environment it can use to write code and push it to a github repo :)
Ask HN: How can I get better at using AI for programming?
481–490 of 491 posts
Re: Ask HN: How can I get better at using AI for programming?
#482Earlier quoted context omitted.
I am sorry but what do I have to learn? That the tool does not work as advertised? That sometimes it will work as advertised, sometimes not? That it will sometimes expose critical secrets as plain text and some other time suggest to solve a problem in a function by removing the function code completely? What are you even talking about, comparing to shell and text editors? These are still bloody deterministic tools. Y…
You’ve asked the right questions and don’t want to find the answers. It’s on you.
Re: Ask HN: How can I get better at using AI for programming?
#483A few things that have helped me get closer to that 15–20 minute review window:
1. Stop asking it to translate a whole route AI struggles when it has to infer intent, architecture, and taste at once. Instead, I break things down explicitly:
one prompt for semantic HTML structure only
one prompt for component boundaries
one prompt for state and data flow I often tell it “do not worry about styling or completeness, just structure”.
2. Give it examples of what “idiomatic” means to you Before asking it to generate anything, I paste a small, finished Svelte component from my codebase and say “match this level of abstraction and composition”. Without this, it will default to generic Svelte patterns.
3. Ask for constraints, not solutions Prompts like:
“Do not use boolean flags for view switching. Use composable components.”
work better than:
“Refactor this to be idiomatic Svelte.”
The more you forbid, the better the output.
4. Use AI as a first-pass reviewer, not an author I’ve had more success writing the initial version myself, then asking AI to:
point out anti-patterns
suggest component splits
identify places where logic can move to the server This tends to align better with how humans actually refactor.
5. Accept that taste is still human Things like semantic HTML, component boundaries, and long-term maintainability are closer to “design” than “coding”. Current models can assist, but they won’t replace your judgment yet.
One small thing that’s helped me personally is using quieter, review-focused AI tools instead of chat-style copilots. I’ve been building and using a GitHub app called MergeMonkey that gives short, structured PR feedback and only goes deeper when you ask. It’s been useful as a second set of eyes once the code exists, rather than trying to generate everything from scratch.
Re: Ask HN: How can I get better at using AI for programming?
#484Re: Ask HN: How can I get better at using AI for programming?
#485Earlier quoted context omitted.
This is the only approach that seems even remotely reasonable “Prompt engineering” just seems dumb as hell. It’s literally just an imprecise nondeterministic programming language. Before a couple years so, we all would have said that was a bad language and moved on.
You know what else is nondeterministic? "Project Management" You tell humans to make code, they make code. How do you check it's correct and does what it should?
Re: Ask HN: How can I get better at using AI for programming?
#486Earlier quoted context omitted.
You know what else is nondeterministic? "Project Management" You tell humans to make code, they make code. How do you check it's correct and does what it should?
Humans have agency and accountability, duty of care, etc.
They're paid to ship a feature, why would they spend extra time making something perfect? If it breaks they just fix it - and get paid doing it.
Not everyone writing code in a corporation is a Code Artesan who handcrafts every single character with thought and precision like an old Japanese craftsman. They just write code, it does about what it should and push a PR branch. Then you grab the next task from the corporate Jira project.
Re: Ask HN: How can I get better at using AI for programming?
#487Earlier quoted context omitted.
Humans have agency and accountability, duty of care, etc.
How does a random programmer have "duty of care"? They're paid to ship a feature, why would they spend extra time making something perfect? If it breaks they just fix it - and get paid doing it. Not everyone writing code in a corporation is a Code Artesan who handcrafts every single character with thought and precision like an old Japanese craftsman. They just write code, it does about what it should and push a PR br…
Are there jobs that don't care if you don't take due care when writing code? I'd like me one of those.
Re: Ask HN: How can I get better at using AI for programming?
#488I like Augment Code for it's context engine - it is a lot better at finding where in the codebase changes need to be made without the planning.
It's the central thesis to what we're doing at Cortex.build - our local model can compete with large SOTA models because of how much work we do on mapping the codebase and creating just in time context for our LLM to make small and precise changes.
Re: Ask HN: How can I get better at using AI for programming?
#489You know when Claude Code for Terminal starts scroll-looping and doom-scrolling through the entire conversation in an uninterruptible fashion? Just try reading as much as of it as you can. It strengthens your ability to read code in an instant and keeps you alert. And if people watch you pretend to understand your screen, it makes you look like a mentat. It’s actually a feature, not a bug.
I wouldn’t recommend that (after having tried it for a while). It is very easy to get the impression that the changes are sound, because on their own they look good. But often when looking at the final result in a git diff tool, the holes and workarounds become way more noticeable.
claude-code rendering pipeline often goes awry, and start scrolling back and forward very fast, causing insane flickering. They have some explanation in https://github.com/anthropics/claude-code/issues/769#issueco... describing that they've made that tradeoff in the name of native terminal experience (instead of learning per-program shortcuts/etc).
Funnily enough, before reading their reasoning, I thought that the whole rendering pipeline was badly vibe-coded.
Re: Ask HN: How can I get better at using AI for programming?
#490Earlier quoted context omitted.
I keep asking chatgpt when will LLM reach 95% software creation automation, answer is ten years.
I don't think that long, but yeah, I give it five years. Two years and 3/4 will be not needed anymore