too much sugar not good for the health

Stewart Gordon smjg_1998 at yahoo.com
Wed Mar 21 11:44:44 PDT 2007


Andrei Alexandrescu (See Website For Email) Wrote:

> Stewart Gordon wrote:
>> Andrei Alexandrescu (See Website For Email) Wrote:
>>> We definitely should get rid of the shameful .sort and 
>>> .reverse though.
>> 
>> What is shameful about them?
> 
> They should be free functions,

What do you mean?

> and sort should also allow a predicate.

If you mean a comparator, it's been said already.  But how would getting rid of it fix that problem?

Stewart.



More information about the Digitalmars-d mailing list