removal of cruft from D
Don
nospam at nospam.com
Mon Nov 23 08:45:16 PST 2009
bearophile wrote:
> 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
There seems to be no point in having a *single* integer value, shared
between the app and all libraries! It's just reducing future flexibility.
>
>
>> 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).
But with the implicit array property functions, we can do it in a
library anyway. The current implementations of both those functions have
bugs.
More information about the Digitalmars-d
mailing list