std.compress

Max Samukha maxsamukha at gmail.com
Tue Jun 4 22:25:32 PDT 2013


On Wednesday, 5 June 2013 at 04:54:46 UTC, Andrei Alexandrescu 
wrote:
> On 6/5/13 12:44 AM, Max Samukha wrote:
>> On Tuesday, 4 June 2013 at 18:46:49 UTC, Walter Bright wrote:
>>> On 6/4/2013 11:43 AM, Timothee Cour wrote:
>>>> writing generic code.
>>>> same reason as why we prefer:
>>>> auto y=to!double(x) over auto y=to_double(x);
>>>
>>> The situations aren't comparable. The to!double case is 
>>> parameterizing
>>> with a type, the compress one is not. Secondly, compress(lzw) 
>>> does
>>> ABSOLUTELY NOTHING but turn around and call lzw. It adds 
>>> nothing.
>>
>> That "absolutely" based on limited personal experience is the 
>> biggest
>> D's problem.
>
> It's a point, but "biggest" is also kind of too much and based 
> on limited personal experience :o).
>
> Andrei

Yeah, I noticed that.



More information about the Digitalmars-d mailing list