DEV Community

Discussion on: Learn From Source Code

Collapse
 
dvddpl profile image
Davide de Paolis

Very nice article!
I must say I started reading source code way too late in my career. I was somehow scared by the complexity of the projects/libraries I was using, or I felt would not be able to understand the way they worked - since it was already quite difficult to understand the way to use them.
But with years and experince I figured out how much you can improve and learn from reading the source, and yes together with unit-tests it is the most important - clear - and uptodate source of truth.
And it is fun to understand how the authors decided to solve their problems.
Now, i cannot stress my junior colleagues enough about the necessity of digging into the source to really understand what they are using, and become better programmers.
Thanx!

Collapse
 
snj profile image
Nic • Edited

Thanks,
Yes, Reading source code on purpose is really useful for an intermediate engineer.
A beginner should learn good practice and skills for reading code at the career beginning stage.