Earlier quoted context omitted.
I am guessing this is an attempt to save computing resources/tokens?
Comments in code are instant technical debt. They need to be maintained alongside the code, so you are *programming" twice. Avoid comments, except when they really explain some obscure, incomprehensible section of code or to prevent explorers from the future getting smacked on the face twice by the same stick. I find myself using the latter often to tell future agents what not to do in the next few lines.
Claude Code 2.0
201–210 of 431 posts
Re: Claude Code 2.0
#202FINALLY checkpoints! All around good changes, Claude Code is IMHO the best of the LLM CLI tools.
Re: Claude Code 2.0
#203Earlier quoted context omitted.
I tried goose and it seems like there's a lot of nice defaults that Claude Code provides that Goose does not. How did you do your initial configuration?
What I've been trying to use it for is to solve a number of long-standing bugs that I've frankly given up on in various Linux tools. I think I lack the social skills to community drive a fix, probably through some undiagnosed disorder or something so I've been trying to soldier alone on some issues I've had for years. The issues are things like focus jacking in some window manager I'm using on xorg where the keyboard…
They seem autonomous but often aren’t.
Re: Claude Code 2.0
#204You can find the revamped prompt on github[1], or on twitter summarized by my bot[2]. [1] https://github.com/marckrenn/cc-mvp-prompts/compare/v1.0.128... [2] https://x.com/CCpromptChanges/status/1972709093874757976
what in the world?
Re: Claude Code 2.0
#205Re: Claude Code 2.0
#206> New native VS Code extension Looks great, but it's kind of buggy: - I can't figure out how to toggle thinking - Have to click in the text box to write, not just anywhere in the Claude panel - Have to click to reject edits
Re: Claude Code 2.0
#207If Claude Code was a car it'd be the ideal practical vehicle for all kinds of uses.
If OpenAI Codex was a car, it'd be a cauldron with wheels.
The reason I say this is CC offers so many features: plan mode, hooks, escape OR ctrl-c to interrupt it, and today added quick rewind. Meanwhile Codex can't even wrap text to the width of the terminal; you can't type to it while it's working to queue up messages to steer it (you have to interrupt with Ctrl-C then type), and it doesn't show you clearly when it's editing files or what edits it's making. It's the ultimate expression of OpenAI's "the agent knows what to do, silly human" plan for the future - and I'm not here for that. I want to steer my agent, and be able to have it show me its plan before it edits anything.
I really wish the developers of Codex spent more time using Claude Code.
Re: Claude Code 2.0
#208The vscode integration does feel far tighter now. The one killer feature that Cursor has over it is the ability to track changes across multiple edits. With Claude you have to either accept or reject the changes after every prompt. With Cursor you can accumulate changes until you're ready to accept. You can use git of course but it isn't anywhere near as ergonomic.
Cline and it's forks have that in vs code. I use Cline with claude code as the LLM
Re: Claude Code 2.0
#209Something I realized about this category of tool (I call them "terminal agents" but that already doesn't work now there's an official VS Code extension for this - maybe just "coding agents" instead) is that they're actually an interesting form of general agent . Claude Code, Codex CLI etc can effectively do anything that a human could do by typing commands into a computer. They're incredibly dangerous to use if you d…
One thing I really like using them for is refactoring/reorganizing. The tedious nature of renaming, renaming all implementations, moving files around, creating/deleting folders, updating imports exports, all melts away when you task an agent with it. Of course this assumes they are good enough to do them with quality, which is like 75% of the time for me so far.
Re: Claude Code 2.0
#210Earlier quoted context omitted.
Comments in code are instant technical debt. They need to be maintained alongside the code, so you are *programming" twice. Avoid comments, except when they really explain some obscure, incomprehensible section of code or to prevent explorers from the future getting smacked on the face twice by the same stick. I find myself using the latter often to tell future agents what not to do in the next few lines.
Comments are absolutely important. Your code answers ‘what’ but not why. Comments are for the why.