.sort vs sort(): std.algorithm not up to the task?
Andrew Edwards via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 7 19:19:15 PDT 2017
On Thursday, 8 June 2017 at 02:07:07 UTC, Mike B Johnson wrote:
> On Thursday, 8 June 2017 at 01:57:47 UTC, Andrew Edwards wrote:
>> If I hand you a chihuahua for grooming, why am I getting back
>> a pit bull? I simply want a groomed chihuahua. Why do I need
>> to consult a wizard to get back a groomed chihuahua?
>
> Because is like a poodle and unless you get your hair cut in a
> special way you won't be considered for the job! The wizard
> only exists to balance the symmetric arrangement of the
> interplanetary forces, don't fear him, he does his job in a
> very predictable way.
Pretty funny. But seriously, this is something that just work.
There is now to layers of indirection to achieve what I used to
do quite naturally in the language.
More information about the Digitalmars-d-learn
mailing list