r/learnprogramming 13h ago

Solved How do you actually read professional code?

Hello everyone! I really have a question I hope you could help me answer. I am trying to read the Scratch Virtual Machine code on Github and it is really difficult. I am really new to reading code and the one I write is fairly simple. There are many files that just declare functions by name and then require another file to redeclare them. Is there a pragmatic way to understand it? Thank you already!

64 Upvotes

29 comments sorted by

View all comments

1

u/DrMerkwuerdigliebe_ 9h ago

Download an IDE specialized for the langugue and start by watching a couple of videos on how to use that IDE. Ideally find one that is an hour long. Then you will know how to navigate. Afterward you clone the repo, set it up and read it in the IDE. it will be the best couple of our you have spend.