Phobos addition formal review: std.experimental.allocator

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 23 09:56:48 PDT 2015


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/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."

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


More information about the Digitalmars-d mailing list