D vs Go in real life

Jonathan M Davis jmdavisProg at gmx.com
Fri Nov 22 08:01:29 PST 2013


On Friday, November 22, 2013 11:20:41 Jacob Carlborg wrote:
> On 2013-11-22 09:56, eles wrote:
> > int[$] x=[1,2,3];
> 
> This would hopefully not be a braking change. The dollar sign can't be
> used like that currently?

What would that even mean? The only thing that $ is used for is for 
representing the length of the array in an indexing or slicing operation. That 
statement is trying to use it in a declaration, which is nonsensical.

- Jonathan M Davis


More information about the Digitalmars-d mailing list