Why is array.reverse a property and not a method?
bearophile
bearophileHUGS at lycos.com
Mon Jul 12 12:28:11 PDT 2010
Andrei Alexandrescu:
> > sort is all but deprecated, since std.algorithm.sort exists.
> >
> > reverse could even more easily be implemented as a library function than
> > sort, it should be removed as well.
>
> http://www.digitalmars.com/d/2.0/phobos/std_algorithm.html#reverse
D site can enjoy a page that lists the deprecated D2 features (and maybe for each of them lists what to use instead of it), so current D2 programmers can avoid what will be removed.
Bye,
bearophile
More information about the Digitalmars-d
mailing list