Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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.



Modules 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).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: