std.compress
Paulo Pinto
pjmlp at progtools.org
Wed Jun 5 12:10:55 PDT 2013
Am 04.06.2013 22:20, schrieb Walter Bright:
> On 6/4/2013 12:41 PM, Peter Alexander wrote:
>> I think this is over-engineering. It's unlikely that an application
>> will need to
>> support multiple compression algorithms in the same piece of code, and
>> even if
>> it did, it would be trivial to implement this on top of the simple
>> interface
>> that Walter is using.
>
> Yup. My experience with abstractions that have no use cases is all the
> wrong things get abstracted. And by my experience, I include every one
> I've seen other people write as well as my own.
>
> My favorite is windows.h. It was originally written for 16 bit Windows,
> and had all kinds of abstractions to make it portable for a future 32
> bit Windows. Unfortunately, apparently nobody working on windows.h had
> any experience with 32 bit code, and the abstractions turned out to be
> all wrong.
Yep, it brings back some memories.
More information about the Digitalmars-d
mailing list