The best learning prompts for SWEs using ChatGPT

Discover how software engineers can use ChatGPT to enhance their learning. From simplifying complex topics to curating study plans, learn the best prompts and strategies to boost your skills responsibly.

The best learning prompts for SWEs using ChatGPT

Generative AI, like ChatGPT, is reshaping how software engineers learn and practice their craft. 

From breaking down complex topics to providing tailored study plans, it can be a powerful tool when used responsibly. But AI isn’t a perfect solution — it generates content based on patterns rather than verified facts, meaning its responses can sometimes be inaccurate or misleading. 

Here’s how software engineers can best use AI to enhance their learning while staying responsible.

Always verify the responses

Generative AI tools are great for brainstorming and exploring new ideas, but they aren’t infallible. Generative AI’s primary function is predicting the next best response based on patterns it has learned. 

This means:

  • It doesn’t “know” facts. The tool doesn’t retrieve verified information but generates responses that sound accurate based on its training.
  • It may hallucinate. Sometimes, AI confidently provides incorrect or misleading information.
  • It’s not an expert. While helpful for overviews, AI should never replace comprehensive research or trusted sources, especially for specialized knowledge.

For example, if you’re learning about software engineering concepts like binary trees, distributed systems, or API design, AI can offer helpful overviews and guidance. However, for in-depth mastery, fact-checking and consulting trusted resources are non-negotiable.

The master prompt for AI learning

If you’re using generative AI to support your software engineering skill-building, it helps to begin with a structured, detailed prompt. Using a structured prompt like this ensures that AI tailors its responses to your goals and focuses on critical areas of learning.

Master prompt

“I want you to act as an expert software engineer and software engineering educator. Help me, as a beginner, learn concepts in the following domains and help me think through them. I want to improve my problem-solving skills to handle novel, unseen situations in these domains in an effective way. It’s important that you incorporate the Engineering Method as a problem-solving framework with the following steps: Explore, Brainstorm, Plan, Implement, and Verify.

The technical domains I’m interested in practicing are:

  • Data structures & algorithms
  • Design principles
  • Distributed systems design
  • Front-end design
  • Writing high-quality code
  • Unit testing
  • Data modeling
  • API design
  • Object-oriented design
  • Refactoring

The behavioral skills I’m interested in practicing are:

  • Effectively communicating my past projects and background in interviews
  • Demonstrating valuable traits like sound judgment, a growth mindset, teamwork, ownership, and prioritizing impact

You don’t need to remind me about these ideas in your response. Finally, remind me to supplement my learning through my own research using search engines. 

My first request is: <insert request>”

Customizing your learning experience

To fully leverage AI, adjust your prompts to match your learning style and focus. OpenAI lists best practices to maximize your use of their generative AI.

Here are some examples:

1. Simplify complex topics

Ask the AI to break down complex concepts into digestible terms, using analogies and real-life examples.

Example prompt:

“Explain the following topics to me in the simplest terms possible as if I were a beginner. Guide me through a visualization exercise to help me internalize the terms and imagine myself successfully applying them to a real-life situation. Create mental models or analogies to help me understand and remember these ideas. I might not have the relevant software engineering industry experience, so you’ll have to abstract concepts very digestible with analogies and examples. My first request is to explain what a binary tree is.”

2. Use the Socratic Method

Improve your critical thinking by asking the AI to challenge your assumptions with open-ended questions and constructive feedback.

Example prompt:

“I want you to act as a teacher and use the Socratic method to help me improve my critical thinking, logic, and reasoning skills. Your task is to ask open-ended questions to the statement I make, and after I provide a response, give me constructive feedback on each response before you ask the next question. Never remind me what the Socratic method is. My first claim is that all binary trees are sorted.”

3. Curate learning experience

AI can recommend books, videos, podcasts, and exercises tailored to specific topics and learning styles.

Example prompt:

“Suggest various learning resources, like books, videos, podcasts, and interactive exercises, for topics that cater to different learning styles. My first request is to find resources to explain what a binary tree is.”

4. Build a pathway to learning

Ask the AI to design lesson plans for challenging topics, such as dynamic programming, to structure your learning.

Example prompt:

“I'm struggling to apply my knowledge in dynamic programming. Create a 5-day, 3-hour-a-day lesson plan for me to master it.”

Best practices for using AI in learning

Generative AI is a powerful tool that can transform how you learn and practice software engineering. But it’s only as reliable as the effort you put into verifying its responses. 

To maximize the benefits of generative AI while minimizing risks:

  1. Always fact-check. Use trusted sources to verify AI-generated information.
  2. Supplement AI with other resources. Books, courses, and mentors offer essential depth and reliability.
  3. Focus on skill-building. Use AI to practice problem-solving and critical thinking, not as a shortcut.

Get holistic interview prep with Formation

Despite the challenging economy, we've been able to help our Fellows land life-changing roles. Formation’s Mentors come from some of the best tech companies in the world, and the personalized career coaching and supportive community make for a great support system.

If you’re having trouble navigating your job search on your own, apply here and get unconditional support from a team of engineering mentors, technical recruiters, career coaches, and more.