Dan Sugalski wrote:
> At 03:53 PM 8/15/00 -0400, John Porter wrote:
> >
> >I guess it depends on what you think makes sense; but it seems to me
> >that an array is a more fundamental data type; that it's easier (i.e.
> >more efficient) to build associative arrays from arrays, than vice versa.
> 
> It's silly to throw either of them out. Perl might be many things, but a 
> reductionist language it ain't...

I think as long as equivalent (and better!) functionality is available,
through equivalently terse syntax, who's to care?  Why is 

        $h{'foo'} = 'bar';

instrinsically preferable to

        assoc( %h, 'foo', 'bar' );

???
or, in some possible future syntaces:

        h.assoc('foo') = 'bar';  # lvalue methods of highlander objects...

-- 
John Porter

        Aus tiefem Traum bin ich erwacht.

Reply via email to