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.

Reply via email to