At 11:46 PM 8/15/00 -0400, Stephen P. Potter wrote: >Lightning flashed, thunder crashed and Dan Sugalski <[EMAIL PROTECTED]> whispered: >| > > Doesn't it make more sense to get rid of arrays and just use hashes? >| > >| >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... > >Why is it silly? Hashes and arrays are *conceptually* very similar (even >if they are extremely different implementation-wise). It's because they've got so different an implementation, and their performance characteristics are so different. They're also conceptually distinct. While there is a lot of overlap, there's also a rather large area of difference. While you can fake one with the other, it doesn't mean you should. Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk
- Re: RFC 84 (v1) Replace => (string... Jonathan Scott Duff
- Re: RFC 84 (v1) Replace => (stringifying c... Stephen P. Potter
- Re: RFC 84 (v1) Replace => (stringifyi... Nathan Torkington
- Re: RFC 84 (v1) Replace => (string... Kai Henningsen
- Re: RFC 84 (v1) Replace => (stringifyi... Damien Neil
- Re: RFC 84 (v1) Replace => (string... Russ Allbery
- Re: RFC 84 (v1) Replace => (string... Stephen P. Potter
- Re: RFC 84 (v1) Replace => (string... Ariel Scolnicov
- Re: RFC 84 (v1) Replace => (string... Russ Allbery
- Re: RFC 84 (v1) Replace => (string... Uri Guttman
- Re: RFC 84 (v1) Replace => (stringifyi... Dan Sugalski
- Re: RFC 84 (v1) Replace => (stringifyi... John Porter
- Re: RFC 84 (v1) Replace => (stringifying comma) wit... Jeremy Howard
- Re: RFC 84 (v1) Replace => (stringifying comma... Jarkko Hietaniemi
- Array storage (was Re: RFC 84 (v1) Replace =&... Jeremy Howard
- Re: Array storage (was Re: RFC 84 (v1) Re... Jarkko Hietaniemi
- Re: Array storage (was Re: RFC 84 (v1... Dan Sugalski
- Re: Array storage (was Re: RFC 84 (v1... Jeremy Howard
- Re: Array storage (was Re: RFC 84 (v1) Re... Stephen P. Potter
- Re: Array storage (was Re: RFC 84 (v1... Jeremy Howard
- Re: RFC 84 (v1) Replace => (stringifying c... Peter Scott