Herb Sutter briefly discusses D during interview
    Timon Gehr 
    timon.gehr at gmx.ch
       
    Wed Jun  8 12:03:19 PDT 2011
    
    
  
Kagamin wrote:
> Timon Gehr Wrote:
>
> > It is more convenient for the compiler to read the declaration left to right to
> > construct the type. (just like for people)
>
> a real example in the go language :)
>
> hello := []byte("hello, world\n")
In your example the compiler has to parse the type "[]byte" from right to left,
not left to right, to make sense out of it.
That is not an example for what I was referring to.
Timon
    
    
More information about the Digitalmars-d
mailing list