Definition
Examples-first learning means you start from working code, modify it, and observe results immediately.
Why it works
- Faster feedback loops.
- Better memory through active practice.
- Clear connection between concept and behavior.
Practical example
Tutorial-only approach:
- Watch 30 minutes of loops.
- Feel like you understand.
- Forget details when writing code later.
Examples-first approach:
- Run a loop example.
- Change bounds and conditions.
- Observe output and errors.
- Understand why it works.
FAQ
Is theory still important?
Yes. Theory gives direction; practice creates skill.
How much practice is enough?
Aim for daily sessions, even 15–20 minutes.