When I say “read code” I refer to the practice of reading source code on purpose.Īs we know, programming and writing have much in common. Still, the way we teach programming emphasizes the art of writing code, not how to read it. After years of study, most programmers can “write” code, or at least copy and modify it. ![]() Why we need to read codeĪs programmers, we deal with source code every day. These are my tips for learning from source code. This isn’t the kind of thing you pick up from books or tutorials.” “You should do an article about this,” he suggested then. ![]() We discussed it for some time, I described a few ways to read source code more efficiently. I was talking to a younger programmer last week, when he asked me: Explain why we need to read source code, how to read code and learn as much from source code.
0 Comments
Leave a Reply. |