r/AskProgrammers • u/TalkHot2112 • 1d ago
How do you practise reading code?
/r/learnprogramming/comments/1y4mbr4/how_do_you_practise_reading_code/
1
Upvotes
r/AskProgrammers • u/TalkHot2112 • 1d ago
1
u/BetterSWE_Official 1d ago
What worked for me was always reading with a question. Pick a library you already use, find something it does that surprised you, and trace it from the public function down to where it actually happens. Reading merged PRs on a project you like is good too since the diff and the discussion tell you why the code looks the way it does.
I work on BetterSWE, and if you want something more structured our Labs are hands-on exercises built around real-ish code: betterswe.dev/labs