Learn by Teaching

One of the simplest and most effective techniques to learn something is to try to teach it. Teaching in this context doesn’t necessarily mean grabbing the chalk and heading into the classroom; there are several different ways to go about it. You can begin with simple verbal “rubber ducking.” In The Pragmatic Programmer, we described the following scenario.

You’re stuck with a difficult bug. You’ve already spent a lot of time on it, and the deadline is looming. So, you ask a co-worker for help. They walk over to your screen, and you begin to explain what’s going on—and what’s going wrong. Before you get very far into the description, a flash of insight smacks you in the head, and you exclaim, “A-ha!” You’ve found the bug. ...

Get Pragmatic Thinking and Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.