There's no point in having modules reinvent the wheel everytime. CircularBuffer
is clearly usable in other contexts.

Reusing such code makes sure bug fixes and efficiency gains are done once
and for all and work across the board.

>> I wanted to make at least one module that doesn't pull in 100% of
everything in Phobos

That seems like a very artificial exercise leading to unnecessary
contorsions.

On Tue, Jun 4, 2013 at 1:00 AM, Walter Bright <[email protected]>wrote:

> On 6/3/2013 11:40 PM, Timothee Cour wrote:
>
>> D)
>> CircularBuffer belongs somewhere else; maybe std.range or std.container
>>
>
> I have mixed feelings about that. If you'll notice, std.compress doesn't
> have any imports! I wanted to make at least one module that doesn't pull in
> 100% of everything in Phobos (one of my pet peeves).
>

Reply via email to