Le 28/04/2012 20:47, Walter Bright a écrit :
Andrei and I had a fun discussion last night about this question. The
idea was which features in D are redundant and/or do not add significant
value?
A couple already agreed upon ones are typedef and the cfloat, cdouble
and creal types.
What's your list?
OK longer answer.
- is is messed up. It is a massive hack and have to be rationalized.
- version is a bad version of static if. The static if part of the
version must go.
- comma expression is confusing and have very little benefice.
- out arguments. We can return tuples, out argument is going backward
in history.
- many array properties (.sort for instance) are useless and would be
way better as libs.