August 05, 2011
On 08/04/2011 07:54 PM, bearophile wrote:
> Kai Meyer:
>
>> Looking at std.algorithm, I think what you really want is minCount:
>> http://www.d-programming-language.org/phobos/std_algorithm.html#minCount
>
> It's a bad design.
>
> Bye,
> bearophile

minCount is, or the usage of minCount in his particular problem?
August 05, 2011
Kai Meyer:

> minCount is, or the usage of minCount in his particular problem?

Your usage seems OK. What I meant is that I don't like the design of min/max/minCount. I have expressed my ideas here:
http://d.puremagic.com/issues/show_bug.cgi?id=4705
I'd like to know what Andrei thinks about it. Then, I am probably able to implement those ideas myself.

Bye,
bearophile
1 2
Next ›   Last »