2 ms·
>>> but navigating a million lines of Python seems just daunting to me (although maybe I'm just not experienced enough with Python). It's not that bad. The fi
by user5994461 9y ago
>>> but navigating a million lines of Python seems just daunting to me (although maybe I'm just not experienced enough with Python).
It's not that bad.
The first thing you learn when you're in a million lines codebase is that you will only work within your project of maybe a hundred files.
Once in a while, there is a guy who is asking for help on his project or there is an old weird bug to fix and you dive in other stuff. Otherwise, it's like it's not there.
- AlexCoventry 9y agoSounds like the projects you worked on had excellent encapsulation.
- user5994461 9y agoI wouldn't say excellent encapsulation. It's just normal to use sub directories to split things. The project was over ten millions lines of python.
- AlexCoventry 9y agoSubdirectory structure is sort of orthogonal to the issue of encapsulation. It's more about providing API's and clean abstractions which prevent incidental interactions between implementation details across module boundaries.