Lets deprecate the length in the arrays index

Lars Ivar Igesund larsivar at igesund.net
Mon Jan 15 07:27:35 PST 2007


Frank Benoit (keinfarbton) wrote:

> There was this thread:
> 
> 22-Oct-2005
> It's time to deprecate "array [length]" in favour of "array [$]"
> 
> Actually I noticed, i still can use length inside an array index, even
> if compiling without -d (deprecated).
> 
> For me that means, I do not use the identifier 'length' in D. For
> nothing. Because it can happen, it collides with this array stranger.
> 
> Please remove this or deprecated this.

I was surprised to hear that this wasn't already deprecated.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list