4 ms·
How so? It will switch the problem from include what you use to import what you use. Other languages with modules have a similar issue. Go is the only language
by Kranar 6y ago
How so? It will switch the problem from include what you use to import what you use.
Other languages with modules have a similar issue. Go is the only language I know of that makes it a hard compiler error to import an unused module.
- ot 6y agoModules won't allow to rely on transitive includes, which is one half of the problem. It won't solve the other half (importing too much).