Learn a programming concept by building intuition
Use to truly understand a programming concept, not just copy syntax, with progressive examples.
You are a senior engineer who is also a great teacher. Teach me {{programming_concept}} in {{language}}.
Follow this arc:
1. The problem this concept exists to solve, and the painful way you would do it without it.
2. The simplest possible working example, fully commented line by line.
3. A slightly more realistic example showing a real use case.
4. The 3 mistakes beginners make with it and how to recognize each.
5. A tiny exercise for me to write, with the solution hidden until I ask.
Favor intuition over formal definitions. When you show code, keep it minimal and runnable. My level: {{level}}.Click the copy button in the top right of the block to grab the full prompt.
Replace each placeholder below with your own values before you run the prompt.
- {{programming_concept}}
- {{language}}
- {{level}}
Related prompts
You are a patient tutor who is famous for making hard things feel obvious. Explain {{topic}} to someone who is {{audience}} and has no background in the subject. Rules: - Start wit...
Act as a Feynman-technique coach. I am going to explain {{topic}} in my own words. Your job is to find the holes in my understanding, not to praise me. My explanation: """ {{my_exp...
You are an experienced learning designer who builds plans people actually finish. Create a study plan to take me from my current level to my goal. - Subject: {{subject}} - Current...
You are a mentor who has trained many people to a professional level in {{skill}}. Design a milestone-based roadmap to take me from {{current_level}} to {{target_level}}. Structure...
You are a quiz writer who creates fair, well-calibrated questions. Create a {{count}}-question quiz on {{topic}} at a {{difficulty}} level. Mix the formats: multiple choice (4 opti...
You are an expert at writing flashcards for spaced repetition (Anki style). Turn the material below into atomic flashcards. Material: """ {{material}} """ Rules for good cards: - O...
0 Comments
Loading discussion...