Comment by alwillis

Comment by alwillis 3 days ago

0 replies

> Then why wouldn't it eventually be able to tell if I'm using 2 or 4 spaces and format my code accordingly?

It's not that an agent doesn't know if you're using 2 or 4 spaces in your code; it comes down to:

- there are many ways to ensure your code is formatted correctly; that's what .editorconfig [1] is for.

- in a halfway serious project, incorrectly formatted code shouldn't reach the LLM in the first place

- tokens are relatively cheap but they're not free on a paid plan; why spend tokens on something linters and formatters can do deterministically and for free?

If you wanted Claude Code to handle linting automatically, you're better off taking that out of CLAUDE.md and creating a Skill [2].

> What? Why would that be a reasonable assumption/prediction for even near-term agent capabilities? Providing it with some kind of local memory to dump its learned-so-far state of the world shouldn't be too hard. Isn't it supposed to already be treated like a junior dev? All junior devs I'm working with remember what I told them 2 weeks ago. Surely a coding agent can eventually support that too.

It wasn't mentioned in the article, but Claude Code, for example, does save each chat session by default. You can come back to a project and type `claude --resume` and you'll get a list of past Claude Code sessions that you can pick up from where you left off.

[1]: https://editorconfig.org

[2]: https://code.claude.com/docs/en/skills