typedef: what's it good for?

Bill Baxter wbaxter at gmail.com
Wed Nov 11 09:12:08 PST 2009


On Wed, Nov 11, 2009 at 8:54 AM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:

> Walter's and my interim conclusion last night was that fixing typedef would
> be difficult, and that the usefulness of typedef is too little for its
> complexity. It may be a good idea to just remove it from the language. We
> already have a host of other abstraction-building mechanisms, and typedef
> does not seem to build a good abstraction.

Well put.  I agree that typedef is nigh useless as is.  I've tried to
use it before, and just gave up because it seemed pretty clear that it
was an alpha-level feature.

--bb



More information about the Digitalmars-d mailing list