Why is std.algorithm so complicated to use?
Simen Kjaeraas
simen.kjaras at gmail.com
Tue Jul 10 11:13:59 PDT 2012
On Tue, 10 Jul 2012 16:27:31 +0200, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> On 7/10/12 8:52 AM, Simen Kjaeraas wrote:
>> bearophile (who else? :p) has suggested the addition of eager and
>> in-place
>> versions of some ranges, and I think he has a very good point.
>
> Where would good old loops not work for eager stuff?
Mostly because I like the std.algorithm way of writing stuff, now we have
UFCS.
But yes, could not come up with a good case for not using loops beyond
that.
--
Simen
More information about the Digitalmars-d
mailing list