[squeak-dev] Re: Want: #slice: (Re: Noob question: array slice?)

Stephen Pair stephen at pairhome.net
Sat Aug 7 13:42:43 UTC 2010


On Fri, Aug 6, 2010 at 11:56 PM, Andreas Raab <andreas.raab at gmx.de> wrote:
>
> Etc. So I think the argument for #slice: can be made and we should consider
> it as a more generic operation instead of just a slower version of
> #copyFrom:to:.
>

+1 ...I think Andreas makes a compelling argument without considering
newbies from other languages that have a notion of array slicing.  But, I
also think this would be great for newbies to Squeak when they do use slice
and then dig a little deeper to find that squeak's slice is implemented with
a ginsu knife.

- Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100807/5093dda6/attachment.htm


More information about the Squeak-dev mailing list