Array literals REALLY should be immutable

Moritz Warning moritzwarning at web.de
Thu Nov 12 05:48:25 PST 2009


On Thu, 12 Nov 2009 14:28:05 +0100, Don wrote:

> I think this is quite horrible. [1, 2, 3] looks like an array literal,
> but it isn't -- it's an array constructor. It doesn't look like a
> function call. It shouldn't be.

I've hit the problem around four times last week
in combination with C bindings.

I agree with the proposal, but I miss action.



More information about the Digitalmars-d mailing list