News for hackers. Stuff that matters.
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.