4
I got my AI to write better code by feeding it my old project notes first.
3 comments
Log in to join the discussion
Log In3 Comments
danieltaylor1mo ago
Feeding it your project notes is more about giving it the right background info than just typing better instructions. The AI still writes the code, but it knows what you were trying to do before, so it can match your style and avoid old mistakes. For example, in my work, if I gave an AI a past patient's chart notes, it would know to use the same kinds of terms I always use. It's not just better prompts, it's letting the AI learn from your own past work so it gets what you actually want.
7
barnes.brian3mo ago
Sounds like you're just doing prompt engineering. The AI isn't really writing better code, you're just giving it better instructions. That's the whole trick to making them useful.
6
skylerc863mo ago
Exactly, it's all about the instructions... I did the same thing by pasting in my old error logs first and it was like night and day. Barnes.brian is right, the trick is just giving it the right context to work from.
4