Am 23.06.2015 um 18:53 schrieb extrawurst:
On Tuesday, 23 June 2015 at 16:49:45 UTC, Andrei Alexandrescu wrote:
On 6/23/15 9:48 AM, extrawurst wrote:
I agree with Adam on this: "Just a quick concern, I don't think a
package.d should ever have anything except imports in it"
(see http://forum.dlang.org/post/qwatonmpnoyjsvzjp...@forum.dlang.org)

What is the rationale? -- Andrei

I simply quote his following post in the mentioned thread:

"The biggest benefit of breaking up the big modules is so you can access
some of it without requiring all of it. But when the part you want is in
the package.d, you can't get it independently anymore; importing that
also imports everything else, negating the reason it was split up in the
first place."

Not to mention https://issues.dlang.org/show_bug.cgi?id=11847

Reply via email to