@property - take it behind the woodshed and shoot it?
David Nadlinger
see at klickverbot.at
Mon Jan 28 10:17:33 PST 2013
On Monday, 28 January 2013 at 18:10:33 UTC, H. S. Teoh wrote:
> By comparison, array.length is
> pretty tame (no visible side-effects except that the array
> becomes
> longer).
... *and* possibly relocated in memory, so that it no longer
aliases any other slices originally pointing to the same chunk of
data.
This is the main reason why .length looks far to innocent in my
regard - although I don't really feel strongly about the issue.
David
More information about the Digitalmars-d
mailing list