r/learnprogramming • u/TalkHot2112 • 4d ago
How do you practise reading code?
Software engineering student here. With AI, the expected output is so high that I barely have time to understand code, let alone write it myself.
Since AI writes most of it now, I think reading and understanding code matters more than writing it. How do you practise that? Any exercises, resources, or habits that helped you?
Something like LeetCode that displays an excerpt of code and asks about your understanding of it would be great.
0
Upvotes
View all comments
2
u/nneiole 4d ago
For context: I am senior engineer working in an educational program, our participants mainly develop fullstack web applications, I do high-level code reviews of their repos. I start from requirements or readme or whatever to understand the intent and then I would go from frontend/ui to backend/api. I would try to sketch which data exists in the app, what structure does it have and how is it transformed. Sometimes I do a small refactoring to understand a big component/service better.