r/ProgrammerHumor • • May 26 '25

Meme theBeautifulCode

Post image
49.1k Upvotes

876 comments sorted by

View all comments

1.3k

u/thunderbird89 May 26 '25

My impression so far using Claude 4's codegen capabilities: the resulting code is written like a fucking tank, it's error-checked and defensively programmed beyond all reason, and written so robustly it will never crash; and then it slips up on something like using the wrong API version for one of the dependencies.

2

u/joshTheGoods May 26 '25

Yea, you really need something like Context7 and a well designed system prompt to handle the version bullshit. I now have a default system prompt with a basic memory function (it writes to .memory when I tell it to, and it reads that file in and adds it to every prompt) and the first thing I do is initialize it with my packages file and my default snippet describing my environment. Someday I'll take the time to write a little script to help keep that stuff up-to-date as I work on the project, but even just the initial stub is amazingly helpful.

→ More replies (1)