Re: How to understand huge code



Jack.Thomson.v3 wrote:

I am working with C,C++ since past 1.5 years, I am also pretty good in
writing small programs. But when it comes to understanding big
projects, (Ex: Say I want to contribute in a open source storage
product) I feel very difficult understanding the complete code flow.

Any help on the approach, how to understand huge projects code.

Read its unit tests, make a copy of the program, add new unit tests, and try
to add a feature to that copy.

Any other system is just a "prosthetic goal". A goal to guess how well you'd
do adding a feature.

If the code has no unit tests, ask "why" three times!

--
Phlip


.



Relevant Pages