▲ | abraxas 2 days ago | |||||||
I tried to follow the same pattern on a backend project written in Python/FastAPI and this has been mostly a heartache. It gets kind of close but then it seems to periodically go off the rails, lose its mind and write utter shit. Like braindead code that has no chance of working. I don't know if this is a question of the language or what but I just have no good luck with its consistency. And I did invest time into defining various CLAUDE.md files. To no avail. | ||||||||
▲ | ryandrake 2 days ago | parent | next [-] | |||||||
What I find helpful in a large project is whenever Claude goes way off the rails, I correct it, and then tell it to update CLAUDE.md with instructions in its own words how to not do it again in the future. It doesn't stop the initial hallucinations and brainfarts, but it seems to be making the tool slowly better as it adds context for itself. | ||||||||
▲ | lordnacho 2 days ago | parent | prev | next [-] | |||||||
Has this got anything to do with using a stronger typed language? I've heard that reported, not sure whether it's true since my python scripts tend to be short. Does it end in a forever loop for you? I used to have this problem with other models. | ||||||||
| ||||||||
▲ | wg0 2 days ago | parent | prev [-] | |||||||
I can second that. Even on plain CRUD with little to no domain logic. |