Making it work for you
Here are some tips to make coding with LLMs work better for you:
- Be specific about what you want the code to do and look like.
- Master prompt engineering. Craft your prompts meticulously. The clearer and more detailed your instructions, the better the LLM understands your intent and generates relevant code. Think of prompts as precise questions guiding the LLM toward creating your desired solution.
- Tell the LLM which version of which language you’re using and which IDE/environment you’re using for the code. For example, I have been using Python 3.10 in a Spyder IDE.
- Break down tasks into smaller chunks. Don’t overwhelm the LLM with complex, multi-step tasks. Instead, break them down into smaller, manageable subtasks. This allows for more focused prompts and facilitates easier troubleshooting and refinement.
- Go through iterations, improving all the time. Use the LLM to check how you can improve, and get it to ask you...