4 ms·
Honestly, 2200 LOC is really not very much. I’ve dealt with 15 kLOC source files before, and have seen upwards of 30 before. I don’t think breaking it up would
by sakras 4y ago
Honestly, 2200 LOC is really not very much. I’ve dealt with 15 kLOC source files before, and have seen upwards of 30 before. I don’t think breaking it up would add much in the way of clarity given the volume of code, at that point splitting it up is just about optimizing compile times.
In regards for how to grok and grep code like that, it’s just a skill like any other. I got very good at reading code and forming a mental model of it.