Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^3: why use a hash instead of an array

by gurpreetsingh13 (Scribe)
on Jun 14, 2013 at 04:35 UTC ( #1038883=note: print w/replies, xml ) Need Help??

in reply to Re^2: why use a hash instead of an array
in thread why use a hash instead of an array

Extremely sorry if you felt wrong with that. But friend, it was just an example.

Ok I am not laughing. But you will understand the importance of hashes once you start using the language to its full extent. Simpler code, shorter code, understandable code, easy to use etc. etc.

Correct me if I am wrong. I believe perl was the first language to include hashes as first-class citizens. There must have been several selling points due to which all industry-standard languages like Java, C-Sharp, Python have now something similar to hash through API or jar or dll or dictionary

  • Comment on Re^3: why use a hash instead of an array

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038883]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2016-10-21 18:00 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.