== Quote from grauzone (n...@example.net)'s article > Walter Bright wrote: > > When I originally worked out ideas for D, there were many requests from > > the C and C++ community for a 'strong' typedef, and so I put one in D. I > > didn't think about it too much, just assumed that it was a good idea. > > > > Now I'm not so sure. Maybe it should be removed for D2. > > > > Does anyone use typedef's? > > > > What do you use them for? > > > > Do you need them? > One _actual_ use of typeof is to force a different array initializer > (for performance reasons):
Yes, but this is a **massive** kludge. The right answer is to allow custom array initializers. If this is the best we can come up with then typedef is really worthless.