News for hackers. Stuff that matters.
Re:Ask HN: What is your approach to reading a code repo for ... by jason2323 on Friday October 09, 2020 @10:42PM (#24736344)
Oh i can answer this! Usually the best way to start off is to read the unit tests if they have any. This can usually point to what the code is trying to achieve if anything. Gives you a view of what methods are being used and for what purpose.
Re:Ask HN: What is your approach to reading a code repo for ... by ruairidhwm on Saturday October 10, 2020 @01:05PM (#24740287)
As others have said, tests are a great place to start. They give a bit more context. I also like looking for the entry point and seeing how the environment is created, and step through it from there.

Hopefully not self promotion, but I wrote a blog on this a while back: https://ruairidh.dev/how-to-understand-a-new-codebase

Re:Ask HN: What is your approach to reading a code repo for ... by billconan on Saturday October 10, 2020 @12:40AM (#24736729)
I would debug it. step into the code.
Re:Ask HN: What is your approach to reading a code repo for ... by thedevindevops on Saturday October 10, 2020 @11:42AM (#24739675)
Program.cs or equivalent