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.
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Bart Lateur
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... Damian Conway
- Re: RFC 84 (v1) Replace => (stringifying comma) with ... John Porter
- Re: RFC 84 (v1) Replace => (stringifying comma) ... Stephen P. Potter
- Re: RFC 84 (v1) Replace => (stringifying com... John Porter
- Re: RFC 84 (v1) Replace => (stringifying... Dan Sugalski
- Re: RFC 84 (v1) Replace => (stringif... John Porter
- Re: RFC 84 (v1) Replace => (str... Dan Sugalski
- Re: RFC 84 (v1) Replace => ... John Porter
- Re: RFC 84 (v1) Replace => ... Dan Sugalski
- Re: RFC 84 (v1) Replace => ... John Porter
- Re: RFC 84 (v1) Replace => ... Dan Sugalski
- Re: RFC 84 (v1) Replace => ... John Porter
- Devils advocacy (Re: RFC 84 (v... Nathan Torkington
- Re: Devils advocacy (Re: RFC 8... John Porter
- Re: Devils advocacy (Re: RFC 8... iain truskett
- Re: RFC 84 (v1) Replace => ... Dan Sugalski
