On 2011-02-04 08:34, Jonathan M Davis wrote:
Slices: just one more reason why D's arrays kick the pants of other languages'
arrays...

- Jonathan M Davis

Ruby has array slices as well. A slice of an array refers to the original data just like in D. But on the other hand a new instance is created when making a slice (I assume, since everything is an object in Ruby).

--
/Jacob Carlborg

Reply via email to