How do you read other people’s code?

I am fairly comfortable with C#, I am able to build my own games in Unity3D and I don't have much trouble with the language. I am more struggling with best practices and how to do things so they are testable and future proof.

For example I was looking at CSharp library that wrapped a C library. There is just so many files, where do you start. When I find the parts I am interested in, it's all custom types and all are custom classes which are then further made of other pieces. It's like an endless rabbit hole and I am struggling to make sense of any of it.

by MidnightProgrammer via /r/csharp

Leave a Reply