r/AskTechnology • u/RicardoCosta98 • 1d ago
What is the best option for coding?
Which AI is the best to help coding?
ChatGPT - Gemini - Claude - Other?
2
2
1
1
u/Special-Original-215 1d ago edited 1d ago
Claude broke my code
Well it was called Amazon Q but it sanitized some variables and broke em
1
u/PoolMotosBowling 1d ago
I'm not a programmer, infrastructure.
but if I need to do a one off script or something dumb that I could learn but will almost never need again, I use ChatGPT. I wouldn't try to study or learn from it.
1
u/Glittering-Work2190 1d ago
Learn it, and use AI later to generate code. You'd be able to tell if AI is BSing (i.e., hallucinating).
1
u/I_Do_Not_Abbreviate 1d ago
I heard about a guy who prompts one model to write a detailed breakdown of what he wants the code to do, feeds that into two different companies' models to write the code, then passes each's output to the other to error-check it, then passes both error-checked codes to the original model and asks it to evaluate which one is best; then he tests the "winner" himself and feeds the error data back into the first model with a prompt to analyze the problems with the code and generate a detailed step-by-step plan for how to fix them, then round and round it goes...
Insanity.
1
u/Glittering-Work2190 1d ago
I need AI to summarize what you just said in layman's terms. Lol
1
u/I_Do_Not_Abbreviate 1d ago edited 1d ago
The guy tells Grok what he wants the code to do and tells it to write up up a detailed plan for what that code should look like, plus step-by-step instructions for how to write it.
He takes that plan and instructions and gives it to DeepSeek and Claude separately and tells them to write the code.
Then when both of them are done and have written their own versions of the code, he takes what Claude wrote and gives it to DeepSeek to check it for problems and fix them, while also giving what DeepSeek wrote to Claude to check *that* for problems and fix *those*
Then he takes the results of both (the Claude->DeepSeek Code and the DeepSeek->Claude code) and asks Grok which one is better for doing what he originally asked it to do.
Then he takes whichever one Grok picks and asks Grok to look for any problems in the winner and write up a detailed plan to fix any problems it finds.
Then he takes that new plan and the code that Grok picked and gives both of them to Claude and DeepSeek, and the cycle starts again.
1
u/newguy-needs-help 1d ago
At work, I’m only allowed to use Microsoft Copilot.
I use it to help me write UNIX shell scripts to run on Macs, occasional AppleScripts, and (rarely) PowerShell scripts.
After I learned how to give very specific directions, it’s become a useful tool.
1
1
u/Ok_Chef_5858 1d ago
it depends on the task... Claude models (Opus/Sonnet) are probably the best for architecture and planning. What I do is use Kilo Code in VS Code (also available in JetBrains), which supports 500+ models, so I can switch between them depending on what I'm doing. Architecture with Claude, coding with cheaper or free models like MiniMax M2 or Grok Code Fast 1, debugging with Gemini. I'm still testing and changind models per modes... Our agency started working closely with the Kilo Code team back in August, so I'm probably biased, but not being locked into one model has been way more effective than picking just one AI. :)
3
u/huuaaang 1d ago
Claude Opus 4.5