--- Indika Bandara wrote:
> If u r put into a large project of several 10,000 lines how would you
> start from to understand it..?

I usually use doxygen to create easily browsable code. Every
varible/class/function is only a click away. After browsing around a
little bit to note the directory structure I search for main() and
start from there. Sometimes I take a large piece of paper (A3 for
example) and sketch major function calls/class interactions on it. At
later stage, I make some changes to the code and recompile to make
sure I understood how it works.

BTW, several 10.000 lines isn't really a large project, I'd rather
call it "medium".

-- 
Milan Babuskov
http://www.guacosoft.com



Reply via email to