Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem I had that the larger your project gets, the more mistakes Claude makes. I (not a parent commenter) started with a basic CRUD web app and was blown away by how detailed it was, new CSS, good error handling, good selection and use of libraries, it could even write the terminal commands for package management and building. As the project grew to something larger Claude started forgetting that some code already existed in the project and started repeating itself, and worse still when I asked for new features it would pick a copy at random leaving them out of sync with eachother. Moving forward I've been alternating between writing stuff with AI, then rewriting it myself.




> The problem I had that the larger your project gets, the more mistakes Claude makes

I think the reason for this is because these systems get all their coding and design expertise from training, and while there is lots of training data available for small scale software (individual functions, small projects), there is much less for large projects (mostly commercial and private, aside from a few large open source projects).

Designing large software systems, both to meet initial requirements, and to be maintainable and extensible over time, is a different skill than writing small software projects, which is why design of these systems is done by senior developers and systems architects. It's perhaps a bit like the difference between designing a city and designing a single building - there are different considerations and decisions being made. A city is not just a big building, or a collection of buildings, and large software system is not just a large function or collection of functions.


Yeah, great analogy. Thanks!

Well said, and good analogy.

Have it produce CLAUDE.md files in every directory giving a summary of what code is where, and a system directive to keep these updated.

I’ve got Claude on 10k loc projects, which is probably mid range.

But I also have it document and summarise its own work.


> I also have it document and summarise its own work.

Could you share some of your prompts or CLAUDE.md? I'm still learning what works.


So, just like a human on a growing codebase?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: