4 ms·
Whenever you get stuck, try copying and pasting chunks of the code into ChatGPT and pretend it’s another expert developer and just ask the questions you have or
by eigenvalue 4y ago
Whenever you get stuck, try copying and pasting chunks of the code into ChatGPT and pretend it’s another expert developer and just ask the questions you have or ask it to do the thing you’re trying to do. Break it up into smaller chunks so it fits nicely in the context window, and take advantage of the multiple messages for follow up and clarification. If the generated code gives an error, simply paste the error message in as the next message in the conversation.
Also try using GitHub Copilot in the unfinished project with all the relevant files loaded into the current project. Then try writing code comments explaining what the following function does. Basically, try supplementing your own human intellect with the machine intelligence. It’s already unbelievably good and is going to get so much better in the next 1-2 years, and then you will already have a head start on how to leverage it to the maximum extent. Good luck!