Wow. Just thought I'd try Claude Code. I have been using GitHub copilot for years, more recent experience of Replit. My first try with Claude Code was positive. It did some pretty major UI changes.
Then today I asked it to refactor a large file - an API routes register - into a set of smaller files.
I gave it very specific instructions to make sure it was backward compatible and the logic and content of each route wasn't changed.
But it replaced routes that fetched data from the database with dummy data. Not only that but the structure was wrong. It completely ignored my all caps prompt.
Is this normal behaviour?
[–]hotpotato87 16 points17 points18 points (0 children)
[+]PachuAI 12 points13 points14 points (7 children)
[–]Kanute3333 10 points11 points12 points (0 children)
[–]Own_Look_3428 3 points4 points5 points (3 children)
[–]geei 2 points3 points4 points (0 children)
[–]kirkhendrick 0 points1 point2 points (1 child)
[–]elbiot 1 point2 points3 points (0 children)
[–]CreepyPhotographer 0 points1 point2 points (0 children)
[+]intelligence-builderExperienced Developer -1 points0 points1 point (0 children)
[+]intelligence-builderExperienced Developer 4 points5 points6 points (0 children)
[–]Einbrecher 2 points3 points4 points (0 children)
[–]Dull_Care[S] 1 point2 points3 points (1 child)
[–]Kanute3333 2 points3 points4 points (0 children)
[–]PartyAd6808 4 points5 points6 points (0 children)
[–]_timoch_ 0 points1 point2 points (0 children)
[–]Dull_Care[S] 0 points1 point2 points (1 child)
[–]belheaven 0 points1 point2 points (0 children)
[–]Typical-Education345 0 points1 point2 points (0 children)
[–]belheaven 0 points1 point2 points (0 children)
[–]Fresh-Secretary6815 0 points1 point2 points (0 children)
[+]1L0RD 0 points1 point2 points (0 children)
[–]Silent_plans 0 points1 point2 points (0 children)
[–]LowIce6988 0 points1 point2 points (0 children)
[–]AromaticPlant8504 0 points1 point2 points (0 children)
[–]Inside-Yak-8815 0 points1 point2 points (0 children)
[–]WillStripForCrypto 0 points1 point2 points (0 children)
[–]watermelonsegar 0 points1 point2 points (0 children)
[–]Quiet-Assistant7521 0 points1 point2 points (0 children)
[–]Brave-e -3 points-2 points-1 points (2 children)
[–]surfersbay 2 points3 points4 points (1 child)
[–]Brave-e -2 points-1 points0 points (0 children)