I have been using ChatGPT to help me with my code for a few years now, but I'm wondering if I should jump to Claude for actual productivity. ChatGPT has been very helpful in many ares, but I also believe it drops the ball fairly often, even generating deprecated code that has been deprecated for a few years.

To those of you who use AI coding tools in your day to day job? What are you using? If you use Claude, is it worth paying for it just for coding?

@andy I love Claude! Opus is great and worth every penny imo.

@andy I've been using Claude Code, Codex, and Cursor (at work)

all of them will generate code that doesn't work, but the key point is getting them in the feedback loop so that they can iterate without your hand-holding.

What I find helpful is an AGENTS.md file that says:

- after you change code, run `mise r build-llm` and make sure there are no warnings or errors
- run swiftlint and make sure there are no linting warnings

@andy the mise task "build-llm" is an xcode build command piped into xcsift, which helps with token usage by hiding a lot of the output xcode generates.
@bens wonderful tip. I have yet to use Claude for anything serious so I guess looking at the instruction files would be a great place to start. Thanks.
@andy I have been testing ChatGPT and Claude for writing code and so far I have found ChatGPT better than Claude for my tests. Claude kept forgetting things in the iterative process. So a bug that was fixed in iteration 5 resurfaced in iteration 10. Both systems are good at saying "Good catch" when you point out the error in the coding. I think that my error is in not providing enough information in the beginning - like here is the code, add this feature. Trust is tough.

@andy you can use Clude A LOT for free. I pay $20 a month for CLI and that’s plenty for my personal projects. Frankly I take the “timeouts” as notice “it’s time to go outside and touch grass now.”

You can also use Gemini A LOT for free. Just use the web interface. The Gemini CLI is a bit more aggressive than Claude (it WILL rewrite your code, it WILL delete files without asking) but I like to play them off each other. “My developer wrote this, please review,” works great.

@andy I have used Claude for working on 2 apps now and it's been pretty great. I'm on the $20/month Pro plan and it's been enough for me. Claude still doesn't always know the latest and greatest SwiftUI stuff (like certain view modifiers, views and formatters), so I've had to nudge it in the right direction here and there but overall it's been a positive experience.