Learning how to learn
Barbara Oakley's ideas, filed in one cabinet: rereading feels like learning and mostly isn't, procrastination is pain avoidance, and sleep does the filing.
Published: ·5 min read
Most of us aren't short of information. We're short of a way to turn it into something we actually know. Barbara Oakley, an engineer who went on to run one of the most popular online courses ever made, spent her career on that gap, and her answer is less about willpower than about how your brain files things away.
Think of what you know as a filing cabinet. Learning isn't reading the files. It's getting them into the right drawer, in a form you can pull back out later without looking at the label. Nearly every bad study habit is a way of feeling busy around the cabinet without filing anything.
Start with the fact that your brain has two gears. Focused mode is tight, deliberate attention, the one you're using on this sentence. Diffuse mode is the loose background thinking that takes over on a walk or in the shower. Focused mode opens one drawer and searches it carefully. Diffuse mode wanders the room, which is how it finds the connection between two drawers you'd never have opened together.
So alternate on purpose. Work a problem until you're properly stuck, then step away to something that gives your mind nothing to grab onto. Not a different screen (scrolling is just focused mode pointed at nonsense). A walk, the washing up, a nap. Then come back.
What goes in the drawers is chunks. The first time you drove, mirror, signal, clutch and gas each took all your attention. A year later you merge without thinking about any of it, because those steps fused into one unit your brain runs as a whole. Getting good at anything, chess or driving or reading code, is mostly building chunks and learning which ones go together.
This is why a senior engineer can glance at fifteen lines and say "that's a producer-consumer queue with a backpressure bug" while a junior is still reading variable names. The senior isn't smarter. Their cabinet is fuller, so fifteen facts arrive as one familiar folder.
The trap is rereading. A highlighted page you've seen twice feels known, because recognising something is easy and your brain quietly logs easy as learned. Oakley calls this the illusion of competence. It's admiring the labels on the drawers. Recognising a file and being able to produce it from nothing are different skills, and only the second one shows up when you need it.
So close the book and test yourself. Explain the idea out loud in your own words. Write the function from memory before you check the docs. It will feel slower and clumsier, and that difficulty is the whole mechanism. Pulling the file out is what keeps it in the cabinet.
Timing matters as much as effort. Cram the night before and you can hold it together just long enough to perform, then it's gone within days. Spread the same hours over weeks, with longer and longer gaps between reviews, and it sticks far better. The moment you almost forget something and drag it back is the moment your brain decides it's worth keeping. Mixing problem types helps for the same reason: grinding one kind twenty times in a row means you never have to work out which drawer to open.
Then there's the drawer you never open. Procrastination looks like laziness but works like pain avoidance. Oakley points to brain-imaging work showing that facing a task you dread lights up the regions that process physical pain. Putting it off makes that feeling vanish immediately, which is a fast, strong reward that has nothing to do with character. The good news is that the pain is front-loaded. It fades a few minutes after you actually start, so the trick is only to promise yourself 25 minutes.
The last step happens without you. During deep sleep the brain replays the day's new chunks, strengthens them and clears out metabolic waste. That's the night shift doing the filing. Pull an all-nighter before an exam and you skip it, so what you crammed never gets put away. Seven hours of sleep will often beat two more hours of grinding at 1 a.m.
None of this needs a new tool, which is slightly annoying. It means the thing standing between you and the cabinet was never a better app.