std.compress

Timothee Cour thelastmammoth at gmail.com
Tue Jun 4 01:30:44 PDT 2013


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 <newshound2 at digitalmars.com>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).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130604/f37777fc/attachment.html>


More information about the Digitalmars-d mailing list