On Sun, Apr 29, 2012 at 12:39:03AM +0200, Timon Gehr wrote: > On 04/28/2012 10:24 PM, Timon Gehr wrote: > >On 04/28/2012 08:47 PM, Walter Bright wrote: > >>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? > > > > > >- Associative array literals as non-associative array initializers [1] > >- C style array declarations [2] > >- 'align' declaration [3] > >- 'synchronized' [4] > >- special treatment of built-in types during parsing [5] > >- the arcane restrictions on which exact kind of argument can be > >used to substitute which kind of template parameter > > > > > > Oh, completely forgot about that one: > > - 'in' operator returning a pointer to the element.
Yeah that one elicited a WAT from me when I first started using it. Surprisingly enough, it sounded OK when I read it in TDPL, but when I started using it I realized just how b0rken it is. T -- People tell me that I'm paranoid, but they're just out to get me.