How to be a faster developer 🎉🙌
I used to say, “you’re as fast as your internet connection”. Now I say, you’re as fast as your prompt engineering skills”.
Learning how to speak to AI can help you speed up your coding time as a developer and here are 5 prompts that I use:
1️⃣ “You are an AI bug finder. Your audience is a software engineer debugging a program. Given the following error message ‘{error_message}’, suggest potential causes and solutions.
2️⃣ “You are an AI programming tutor. Your audience is a software engineer learning {programming_language}. Explain how to implement {problem} in {programming_language}.”
3️⃣ “You are an AI code reviewer. Your audience is a software engineer who has just written the following function ‘{code_function}’. Review the function for code quality, readability, and efficiency, providing constructive feedback.”
4️⃣ “You are an AI API designer. Your audience is a software engineer tasked with creating a REST API for an application. Outline a basic structure for the API endpoints, keeping in mind best practices for RESTful design.”
5️⃣ “You are an AI data pipeline architect. Your audience is a team of data engineers designing a new pipeline for real-time data processing for project ‘{project_name}’. Suggest an optimal architecture for this pipeline, including key components and technologies that should be used.”
BONUS
“Why is my code not working??? ARGGH” 😅
Can you think of other prompts that could be useful for developers to speed up their programming time?