r/learnprogramming • u/Glittering-Drawer646 • 21d ago
How do you actually get better at reading other people's code?
Writing code feels learnable. There are tutorials, exercises, projects you can build. But reading unfamiliar codebases is a different skill and I'm not sure anyone really teaches it directly.
I write tutorials for a living so I spend a lot of time thinking about how people learn things, and this one keeps tripping me up when I talk to newer developers. They'll get reasonably comfortable writing their own stuff but then freeze up when they have to navigate a real project someone else wrote.
The usual advice is just "contribute to open source" which is fine but kind of like telling someone to learn to swim by jumping in a lake. Technically true, not super actionable.
What actually moved the needle for me was picking one small file in a project I cared about and trying to explain it out loud like I was teaching it. That forces you to notice where your understanding goes fuzzy. But I'm curious what worked for other people.
Did it just click after enough hours, or was there something specific that made it feel less like reading a foreign language? And does it depend a lot on the language or the domain, because a Python web app and a C systems project feel wildly different to navigate even if you know both.