← Back to context

Comment by jstimpfle

7 years ago

Good reasons not to have many modules: Compile time, Website loads times and sizes, Project maintainability.

Nested dependencies have negative effects on all of those. They encourage uncontrolled addition of modules, and even addition of modules in multiple versions. They lead to wrong "isolationist" thinking.

In other words, they do not manage complexity but produce unneeded complexity.

Not having many modules means having big modules. The bigger a module is (anything bigger than half a screen) the lower my productivity is. Every module should fit into your mind easily.