phobos dependencies
Paolo Invernizzi
paolo.invernizzi at gmail.com
Sun Dec 22 02:24:59 PST 2013
On Saturday, 21 December 2013 at 22:16:13 UTC, monarch_dodra
wrote:
> We should also keep in mind that as we split up modules and
> split apart dependencies, it also means that *as* we import a
> specific package, we are increasing our "use/import" ratio,
> further diminishing the issue of "import things we don't need."
> (who would import "std.foo.bar.baz", if they weren't planning
> to use baz?).
>
> Arguably, we'd get "quadratic" effectiveness ;)
I agree: I would be happy to have a warning for a module import
when any of its symbols is used.
That would lead to cleanup in our code...
/Paolo
More information about the Digitalmars-d
mailing list