News for hackers. Stuff that matters.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by user5994461 on Thursday December 21, 2017 @06:43PM (#15983959)
>>> 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.

Re:Open-sourcing MonkeyType – Let your Python code type-hint... by AlexCoventry on Friday December 22, 2017 @12:08AM (#15985394)
Sounds like the projects you worked on had excellent encapsulation.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by user5994461 on Friday December 22, 2017 @07:09PM (#15991983)
I 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.
Re:Open-sourcing MonkeyType – Let your Python code type-hint... by AlexCoventry on Sunday December 24, 2017 @04:26PM (#16001368)
Subdirectory 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.