------- Comment #12 from [EMAIL PROTECTED]  2008-11-22 14:52 -------
It seems to me then that this is a design choice  - does the string length
belong to the string or to the reference? For slices it must be the reference
but for arrays? hmmm... Curently in D, a dynamic array and a slice are
indistinguishable and I'm not so sure that should be the case. There are good
arguments for the current design and also for the separation of slices and
dynamic arrays.

Common sense seems to say that if I change the length of a string that
therefore every other reference to the same string should also honour the new
length, and that this should also have no effect on previously captured slices
of the string. 


Reply via email to