July notes: copySlice --> copyWithin ??

Andreas Rossberg rossberg at google.com
Fri Aug 16 01:42:52 PDT 2013


I've seen libraries in other languages that name this kind of function
'blit'. Somewhat retro, but not too bad.

/Andreas

On 14 August 2013 23:42, Kris Kowal <kris.kowal at cixar.com> wrote:
> The name `copy` matches my intuition for the behavior described, as informed
> by the shell command `cp source target` and other precedents. I would expect
> `clone` to return a deep copy, as in `Object.clone(object, depth=Infinity,
> memo=Map())`, informed by the Java precedent, and I would not be perturbed
> by `copy` and `clone` coexisting as such.
>
> Kris Kowal
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list