D vs Go in real life

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Dec 2 08:17:34 PST 2013


On Mon, Dec 02, 2013 at 05:12:47PM +0100, Bienlein wrote:
> On Saturday, 30 November 2013 at 18:16:23 UTC, Walter Bright
> wrote:
> 
> >It's easier than that:
> >
> >struct Rectangular {
> >    Point x,y;
> >}
> >
> >struct Rectangular {
> >    Rectangle rectangle;
> >    alias this rectangle;
> >}
> 
> Are there any plans so that you can have multiple aliases per
> struct/class? That would be really awesome :-).

+1. Can we have multiple alias this? Pretty please? :)


T

-- 
A mathematician is a device for turning coffee into theorems. -- P. Erdos


More information about the Digitalmars-d mailing list