Re:Ask HN: How to understand the large codebase of an open-s...
by whb07 on Saturday February 03, 2018 @04:58PM
(#16299911)
I'd like to point out that if it is truly large, then deep intimate knowledge of specific parts will never be truly had. Those who do know the entire project understand the flow and architecture of it but the details are blurred.
[ Parent
| on HN ]
Re:Ask HN: How to understand the large codebase of an open-s...
by khedoros1 on Saturday February 03, 2018 @06:50PM
(#16300384)
That's what I was thinking. My first job was dev on a C++ and Java project that was in the high hundreds of thousands of lines when I started, and grew from there. Client-side had about 5 core binaries, server side had about a dozen, and each of those was a sizeable file.
Starting to understand it involved reading our documentation on the data-flow between different components during operation, to know the purposes of the important binaries. For the really core components, we had a fair bit of documentation at the level of classes.
You'd usually end up learning the sections of particular programs that you worked on in great detail, the programs themselves as a whole in slightly less detail, getting fuzzier as you moved away from your areas of greatest experience.
Re:Ask HN: How to understand the large codebase of an open-s...
by gsam on Sunday February 04, 2018 @04:18AM
(#16302016)
To add, close mentorship with a core member of the team is one of the ways to get around this hurdle. Anything less formal than that, in many cases, it's fairly impossible (unless you have some very similar experience you can draw from).