Earlier quoted context omitted.
My attempt is - Do not use Claude Code at all, it is terrible tool. It is bad at almost everything starting with making simple edits to files. And most of all Claude Code is overeager to start messing with your code and run unnecessary $$ instead of making sensible plan. This isn't problem with Claude Sonnet - it is fundamnetal problem with Claude Code.
I pretty much one shot a scraper from an old Joomla site with 200+ articles to a new WP site, including all users and assets, and converting all the PDFs to articles. It cost me like $3 in tokens.
Claude Code: Best practices for agentic coding
131–140 of 268 posts
Re: Claude Code: Best practices for agentic coding
#132Earlier quoted context omitted.
If I have to spend this much time thinking about any of this, congratulations, you’ve designed a product with a terrible UI.
Think about what you would do in an unfamiliar project with no context and the ticket "please fix the authorization bug in /api/users/:id". You'd start by grepping the code base and trying to understand it. Compare that to, "fix the permission in src/controllers/users.ts in the function `getById`. We need to check the user in the JWT is the same user that is being requested"
Re: Claude Code: Best practices for agentic coding
#133Claude Code works fairly well, but Anthropic has lost the plot on the state of market competition. OpenAI tried to buy Cursor and now Windsurf because they know they need to win market share, Gemini 2.5 pro is better at coding than their Sonnet models, has huge context and runs on their TPU stack, but somehow Anthropic is expecting people to pay $200 in API costs per functional PR costs to vibe code. Ok.
> but somehow Anthropic is expecting people to pay $200 in API costs per functional PR costs to vibe code. Ok. Reading the thread, somehow people are paying. It is mindblowing how in place of getting cheaper, development just got more expensive for businesses.
Re: Claude Code: Best practices for agentic coding
#134Surprised that "controlling cost" isn't a section in this post. Here's my attempt. --- If you get a hang of controlling costs, it's much cheaper. If you're exhausting the context window, I would not be surprised if you're seeing high cost. Be aware of the "cache". Tell it to read specific files (and only those!), if you don't, it'll read unnecessary files, or repeatedly read sections of files or even search through f…
GitHub copilot follows your context perfectly. I don't have to tell it anything about files. I tried this initially and it just screwed up the results.
Just to make sure we're on the same page. There are two things in play. First, a language model's ability to know what file you are referring to. Second, an assistant's ability to make sure the right file is in the context window. In your experience, how does Claude Code compare to Copilot w.r.t (1) and (2)?
Re: Claude Code: Best practices for agentic coding
#135My 2 cents on value for money and effectiveness of Claude vs Gemini for coding:
I've been using Windsurf, VS Code and the new Firebase Studio. The Windsurf subscription allowance for $15 per month seems adequate for reasonable every day use. I find Claude Sonnet 3.7 performs better for me than Gemini 2.5 pro experimental.
I still like VS Code and its way of doing things, you can do a lot with the standard free plan.
With Firebase Studio, my take is that it should good for building and deploying simple things that don't require much developer handholding.
Re: Claude Code: Best practices for agentic coding
#136Earlier quoted context omitted.
Think about what you would do in an unfamiliar project with no context and the ticket "please fix the authorization bug in /api/users/:id". You'd start by grepping the code base and trying to understand it. Compare that to, "fix the permission in src/controllers/users.ts in the function `getById`. We need to check the user in the JWT is the same user that is being requested"
So, AIs are overeager junior developers at best, and not the magical programmer replacements they are advertised as.
This may be a quick quip or a rant. But the things we say have a way of reinforcing how we think. So I suggest refining until what we say cuts to the core of the matter. The claim above is a false dichotomy. Let's put aside advertisements and hype. Trying to map between AI capabilities and human ones is complicated. There is high quality writing on this to be found. I recommend reading literature reviews on evals.
Re: Claude Code: Best practices for agentic coding
#137Earlier quoted context omitted.
So, AIs are overeager junior developers at best, and not the magical programmer replacements they are advertised as.
> So, AIs are overeager junior developers at best, and not the magical programmer replacements they are advertised as. This may be a quick quip or a rant. But the things we say have a way of reinforcing how we think. So I suggest refining until what we say cuts to the core of the matter. The claim above is a false dichotomy. Let's put aside advertisements and hype. Trying to map between AI capabilities and human ones…
Re: Claude Code: Best practices for agentic coding
#138The issue with many of these tips is that they require you use to claude code (or codex cli, doesn't matter) to spend way more time in it, feed it more info, generate more outputs --> pay more money to the LLM provider. I find LLM-based tools helpful, and use them quite regularly but not 20 bucks+, let alone 100+ per month that claude code would require to be used effectively.
Re: Claude Code: Best practices for agentic coding
#139Earlier quoted context omitted.
I pretty much one shot a scraper from an old Joomla site with 200+ articles to a new WP site, including all users and assets, and converting all the PDFs to articles. It cost me like $3 in tokens.
was it a wget call feeding into html2pdf?
Re: Claude Code: Best practices for agentic coding
#140Earlier quoted context omitted.
I pretty much one shot a scraper from an old Joomla site with 200+ articles to a new WP site, including all users and assets, and converting all the PDFs to articles. It cost me like $3 in tokens.
I guess the question the is: can't VScode Copilot do the same for a fixed $20/month? It even has access to all SOTA models like Claude 3.7, Gemini 2.5 Pro and GPT o3