logoalt Hacker News

empath75today at 12:09 PM2 repliesview on HN

This is not my experience with claude code. It does forget big picture things but if you scope your changes well it’s fine.


Replies

symfrogtoday at 12:14 PM

I would estimate that out of every 200 lines of code that Claude Code produces, I notice at least 1 issue that would cause severe problems in production.

In my opinion these discussions should include MREs (minimal reproducible examples) in the form of prompts to ground the discussion.

For example, take this prompt and put it into Claude Code, can you see the problematic ways it is handling transactions?

---

The invoicing system is being merged into the core system that uses Postgres as its database. The core system has a table for users with columns user_id, username, creation_date . The invoicing data is available in a json file with columns user_id, invoice_id, amount, description.

The data is too big to fit in memory.

Your role is to create a Python program that creates a table for the invoices in Postgres and then inserts the data from the json file. Users will be accessing the system while the invoices are being inserted.

---

show 2 replies
ajshahHtoday at 12:56 PM

Yes, but knowing how to scope your changes requires a lot of expertise.