On Mon, Dec 22, 2008 at 7:46 AM, Don <[email protected]> wrote: > That is an excellent question. > Some items in my list are controversial, the first two have already been > mentioned. > > * C-style declarations > * SFINAE > * \n, \r as a string (free up the backslash character) > * #line (make it a pragma instead) > * Octal (it's not 1952 any more) > * the comma operator (allow in selected places, eg for(; ;++a, ++b)). > * package. In DMD, it's a broken implementation of a broken concept. > * The postincrement and postdecrement operators (make x++, x-- identical to > ++x, --x, except that it is illegal to use the return value. Allowing > operator overloading of the postfix operators was a silly hack in C++. It's > a freedom nobody wants). > * is() expressions (I love what you can do with it, but it's unintuitive, > and traits is a much better solution) > * .sort for AAs.
I suppose you mean for normal arrays. How about reverse as well? > * Object.toString(). Encourages bad design. It's not powerful enough to be > useful. I agree with absolutely everything you've listed here.
