removal of cruft from D

bearophile bearophileHUGS at lycos.com
Mon Nov 23 07:56:08 PST 2009


Don:
> So weak that they're pretty much useless:
> version(integer), debug(integer)

I have used that for something unrelated that deserves (as in Fortress) a better standard implementation (to give numeric integer/float constants during compilation):
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=18169


> And these should in the library, not the language:
> array.sort
> array.reverse

I think keeping reverse is OK, because its purpose is simple.
sort can be moved in the std library (or improved a lot).

Bye,
bearophile



More information about the Digitalmars-d mailing list