James Edward Gray II <james / grayproductions.net> writes:

> On May 31, 2005, at 9:28 AM, Christian Neukirchen wrote:
>
>> I think the nice thing about packings is that they don't need to
>> reference the array variable... your code is no improvement to just
>> appending to the array directly, IMHO.
>
> In that case, how are gather/packing an improvement?  They require
> more typing than just appending to an Array.
>
> I guess I just don't "get it".  <shrugs>
>

For example, you could write methods that can add to any object
responding to "<<", just whatever it is.

It's mostly convenience, I'd say.  It can make the code more elegant,
e.g. if you would have used #map, but sometimes need to map to several
values...

> James Edward Gray II
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org