Discussion about this post

User's avatar
Luke's avatar

You write that there is no contradiction inherent in having enthusiasm for technology that is, in the limit, likely very destructive. I do not disagree. There is, however, an obvious tension. I'd really appreciate a post that collects your thoughts on the best way to navigate that tension.

David Spies's avatar

That thing where you keep asking for more until it breaks, that happens because of how awful the code is that Claude writes (and it is _really_ awful). When trying to build projects I find myself continually fighting with Claude to get it to avoid certain patterns.

The biggest of all is that Claude absolutely hates writing fail-fast code and by default goes to extraordinary lengths to hide failures and bugs in hopes you don't notice them. Every CLAUDE.md file I write is prefaced by 5-10 examples of fail-fast code, showing what not to do and what to do.

Despite this, my relationship with Claude feels ridiculously adversarial. It definitely seems like it's continually testing the waters to see what it can get away with and not at all like it's trying it's best to follow style guidelines in spirit.

That said, sometimes when it writes something particularly awful, I've noticed I can just highlight a section of code and say "clean this up" and it actually does a decent job, so maybe I should try the Ralph Wiggum technique more

7 more comments...

No posts

Ready for more?