> One could imagine even breaking it further down ("what functions need to be in file X")
Based on my manual usage, I usually guide it through a top-down process, something like:
- give an overview of how you would approach the problem
- describe the main steps
- do you see any problems with this approach? can you think of any alternatives?
- taking into account everything that we have discussed so far, please carefully review and check your approach, propose a revised approach
- only then would i get it to generate a list of source files and implement them one by one
- now, given your implementation as a whole, review it and note any errors or improvements that could be made
- fix the code
...
Once I have code in hand I'll paste it into a new chat with a prompt like "You are our resident compiler guru. Please review the following code:..." It helps to be more specific about the reviewer's background and what you want. Rinse and repeat until it responds with high praise. Python works better than C++. GPT4 is much better than 3.5 of course.
Based on my manual usage, I usually guide it through a top-down process, something like: - give an overview of how you would approach the problem - describe the main steps - do you see any problems with this approach? can you think of any alternatives? - taking into account everything that we have discussed so far, please carefully review and check your approach, propose a revised approach - only then would i get it to generate a list of source files and implement them one by one - now, given your implementation as a whole, review it and note any errors or improvements that could be made - fix the code ...
Once I have code in hand I'll paste it into a new chat with a prompt like "You are our resident compiler guru. Please review the following code:..." It helps to be more specific about the reviewer's background and what you want. Rinse and repeat until it responds with high praise. Python works better than C++. GPT4 is much better than 3.5 of course.