Live data from Hacker News

Claude Code: Best practices for agentic coding

anthropic.com

181–190 of 268 posts

Re: Claude Code: Best practices for agentic coding

#181
post #143
post #130

Earlier quoted context omitted.

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

I haven't tried copilot. Mostly because I don't use VSCode, I use jetbrains ides. How do they provide Claude 3.7 for $20/mo with unlimited usage?

[deleted]

Re: Claude Code: Best practices for agentic coding

#182
post #139

Earlier quoted context omitted.

no it's a few hundred lines of python to parse weird and inconsistent HTML into json files and CSV files, and then a sync script that can call the WP API to create all the authors as needed, update the articles, and migrate the images

Plumbing to pipe shit from one sewer to another.

Yep, don't wanna spend more of my life doing that than I have to!

Re: Claude Code: Best practices for agentic coding

#184

Surprised 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…

If I have to be so cautious while using a tool might as well write the code myself lol. I’ve used Claude Code extensively and it is one of the best AI IDE. It just gets things done. The only downside is the cost. I was averaging $35-$40/day. At this cost, I’d rather just use Cursor/Windsurf.

Re: Claude Code: Best practices for agentic coding

#186
post #15

The 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.

> let alone 100+ per month that claude code would require I find this argument very bizarre. $100 is pay for 1-2 hours of developer time. Doesn't it save at least that much time in a whole month?

Just a few days ago Cursor saved a lot of developer time by encouraging all the customers to quit using a product.

https://news.ycombinator.com/item?id=43683012

Developer time "saved" indeed ;-)

Re: Claude Code: Best practices for agentic coding

#187
post #183

>Use Claude to interact with git Are they saying Claude needs to do the git interaction in order to work and/or will generate better code if it does?

It doesn’t need to. Its optional.

I don't see how this is a best practice then. It seems like they are saying "Spend money on something easy to do, but can be catastrophic if the AI screws it up."

Re: Claude Code: Best practices for agentic coding

#188
post #125
post #80

Earlier quoted context omitted.

Why do you think it's supposed to be cheap? Developers are expensive. Claude doesn't have to be cheap to make software development quicker and cheaper. It just has to be cheaper than you. There are ways to use LLMs cheaply, but it will always be expensive to get the most out of them. In fact, the top end will only get more and more costly as the lengths of tasks AIs can successfully complete grows.

> It just has to be cheaper than you. Not when you need an SWE in order for it to work successfully.

general public, ceo, vc consensus is that - if it can understand english, anyone can do it. crazy

Re: Claude Code: Best practices for agentic coding

#189
post #149

The "ultrathink" thing is pretty funny: > We recommend using the word "think" to trigger extended thinking mode, which gives Claude additional computation time to evaluate alternatives more thoroughly. These specific phrases are mapped directly to increasing levels of thinking budget in the system: "think" I had a poke around and it's not a feature of the Claude model, it's specific to Claude Code. There's a "megathi…

That's awesome, and almost certainly an Unreal Tournament reference (when you chain enough kills in short time it moves through a progression that includes "megakill" and "ultrakill").

If they did, they left out the best one: "m-m-m-m-monsterkill"

Surely Anthropic could do a better job implementing dynamic thinking token budgets.

Re: Claude Code: Best practices for agentic coding

#190
I use Claude Code. I read the discussion here, and given the criticism, proceeded to try some of the other solutions that people recommended.

After spending a couple of hours trying to get aider and plandex to run (and then with Google Gemini 2.5 pro), my conclusion is that these tools have a long way to go until they are usable. The breakage is all over the place. Sure, there is promise, but today I simply can't get them to work reasonably. And my time is expensive.

Claude Code just works. I run it (even in a slightly unsupported way, in a Docker container on my mac) and it works. It does stuff.

PS: what is it with all "modern" tools asking you to "curl somewhere.com/somescript.sh | bash". Seriously? Ship it in a docker container if you can't manage your dependencies.

Post reply on HN