Ask HN: Advice for someone who wants to try AI-assisted coding?
8 inglor_cz 20 8/10/2025, 1:31:50 PM
Hi, I am a soon-to-be-47 developer with C, C++, Java, PHP, Python, Typescript experience, working in the field since 2002.
I am starting a new project and I would like to experiment with some AI assistants when it comes to coding. It will be a Python project that will access Microsoft cloud using the Graph 1.0 API.
One advantage of the situation is that this project is a bit standalone and I don't have to feed it 2000 already existing classes from an existing legacy codebase to give it a context to work with.
What would you recommend me?
Are there any dark patterns involved, e.g. de-facto un-cancellable subscriptions that will make me cancel my card instead?
I would be happy hearing your experience and tales from the battlefield.
- Use OpenCode if you want to experiment with different models, if not just use Claude Code
- Use Git to your advantage. Always start a prompt on a fresh commit. This will make it easier to see everything that was changed and makes it very easy to undo all the changes and start over.
the thing with AI is that you better try to give them "direction", give detailed instructions or expectations. it's better for you to do it rather than asking it to decide (because they tend to be always agree with you)
so in claude you can setup Claude.md, there are no rules here, but with AI we're talking about tokens and i usually write it in "json" structure despite of it being a markdown file. why json? it's more structured and CMIIW most AI "speak" with it
Take a couple hours to walk CC through your code and generate a CLAUDE.md. Note any architecture patterns you have already, or want to have, in your project.
This is probably the most important thing you can do to drive better results. As you work, try to ensure you're getting independently testable steps as you solve a problem. Take time planning, always have it reference your CLAUDE.md and existing code patterns. At the end of each step, I have CC determine whether or not to update the CLAUDE.md if there's any foundational updates.
The trick is to have a idea of what you're expecting out of these tools. If you can use the tool to break down the work into individual pieces you will find it is really fun and productive way to build software. You still have to think, but you are able to cover a lot more ground faster. I can't type out 4 files that are in my brain in 10 seconds.
An alternative is buying credit for a specific provider and using that with Aider. Which is also not bad.
None of the major players are likely to abuse your card. Just make sure you're either using a prepaid plan or prepaid credits with no auto topups.
https://hn.algolia.com/?query=%22Claude%22&type=comment&date...
https://hn.algolia.com/?query=%22Cursor%22&type=comment&date...
If you do otherwise you're just creating legacy code at astonishing speed. This is fine as long as you throw it away after you're done.
From the interview I got the impression that AI can help you learn or rob you or learning, depending on how you use it. Like, you can go fast or you can go slower-but-more-educational... Depends on what you're after, I guess.
It is definitely inspired by Kiro by Amazon. (unfortunately, I'm still on the wishlist.)
It works fine for me, and I would recommend this approach to understand how AI-assisted coding works.