Herb Sutter briefly discusses D during interview

Jonathan M Davis jmdavisProg at gmx.com
Wed Jun 8 12:00:52 PDT 2011


On 2011-06-08 11:48, 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")

That seems so unnatural, though I expect that you'd get used to it. I find it 
more horrifying that a string is typed as an array of bytes.

- Jonathan M Davis


More information about the Digitalmars-d mailing list