Hacker News new | ask | show | jobs
by Retra 4194 days ago
You put things in order by memory address and they stay in order when you access them. An array is just a special case of a hash map -- one with a trivial hash function.

That's why the lend themselves to the same syntax so well.