On Mar 21, 2012, at 6:43 AM, Walter Bright wrote: > On 3/20/2012 12:02 PM, Andrei Alexandrescu wrote: >> What are your faves? I have a few in mind, but wouldn't want to influence >> answers. > > Although array slices have been in D nearly since the beginning, I had little > idea they would become so darn useful and foundational. They originated from > an idea by Jan Knepper. > > The unexpected utility of them explains why they haven't appeared in other > languages (yet).
Python has had slices since at least 2000. I can't imagine using Python without them, and I always miss them when using languages such as C++. D providing slices in a compiled, system programming language is a massive advantage over other such languages. Geoff
