Phobos addition formal review: std.experimental.allocator
extrawurst via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 23 09:53:26 PDT 2015
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/qwatonmpnoyjsvzjpyjl@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."
More information about the Digitalmars-d
mailing list