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.
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.
- Don't let it create function signatures or structs/classes.
- Instruct it explicitly not to change variable names, or things unrelated to your query
- Pass it exactly the information and code it needs to solve the task, and no more
- If it starts going off the rails, or you're more than a few iterations in, start over. (Likely with modified context, including any parts of its results it did correctly)
If you do otherwise you're just creating legacy code at astonishing speed.
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.
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.