in reply to Re: Perl is more intuitive
in thread Perl is more intuitive

Ah, but the overlap is a feature. Not to mention that by adding a few methods ([], []=, etc.) you can make objects look Array- or Hash-like. As with tie in Perl there's places it makes sense and places it doesn't, of course. See the chapter on "Duck Typing" in the second edition Pickaxe for more discussion.

--
We're looking for people in ATL

Replies are listed 'Best First'.
Re^3: Perl is more intuitive
by samizdat (Vicar) on Aug 19, 2005 at 14:12 UTC
    Haven't even gotten to PA#2 yet, 1.6 and PA#1 are so @ss-kicking that I'm grokking hard. Helps that I used to be a heavy Smalltalk user. Subclassing Arrays and Hashes and Strings comes naturally, though I miss the groovy IDE.