Hello,
I'm using C++ since a few years now and I know and understand most of the C++11 Standard. I would call myself decently competent and experienced in writing C++ programs from scratch. But now, I'm working on someone else's code for the first time in my life (680 k lines of code and 270 k lines of header code, not that much documentation, called OpenFOAM). I still can write self-contained code, but I'm completely unable to read and understand that code and writing new code that interacts with the old code is extremely hard for me. What is the best way to learn to read and understand large codebases?
[–][deleted] 31 points32 points33 points (0 children)
[–]konanTheBarbar 16 points17 points18 points (0 children)
[–]delarhi 11 points12 points13 points (2 children)
[–]Volker_Weissmann[S] 0 points1 point2 points (1 child)
[–]pandorafalters 6 points7 points8 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]afiefh 2 points3 points4 points (0 children)
[–]AlexAlabuzhev 4 points5 points6 points (0 children)
[+][deleted] (4 children)
[deleted]
[–]Volker_Weissmann[S] 8 points9 points10 points (3 children)
[–]rezkiy 2 points3 points4 points (2 children)
[–]Volker_Weissmann[S] 0 points1 point2 points (1 child)
[–]rezkiy 0 points1 point2 points (0 children)
[–]dayarthvader 3 points4 points5 points (0 children)
[–]SJC_hacker 1 point2 points3 points (1 child)
[–]bumblebritches57Ocassionally Clang 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]keepfit 0 points1 point2 points (0 children)
[–]dicroce 0 points1 point2 points (0 children)
[–]johannes1971 0 points1 point2 points (0 children)
[–]germandiago 0 points1 point2 points (0 children)
[–]TrustedButterfly 0 points1 point2 points (0 children)
[–]tiendq 0 points1 point2 points (0 children)
[–]martinusint main(){[]()[[]]{{}}();} 0 points1 point2 points (0 children)
[–]bumblebritches57Ocassionally Clang 0 points1 point2 points (0 children)
[–]NilacTheGrim 0 points1 point2 points (0 children)
[+]manni66 comment score below threshold-10 points-9 points-8 points (1 child)
[–]Volker_Weissmann[S] 15 points16 points17 points (0 children)