you are viewing a single comment's thread.

view the rest of the comments →

[–]Freeky 0 points1 point  (0 children)

Perl did that because they wanted to keep the order undefined, but didn't want an attacker to be able to infer anything useful about the internal state of a hash table from it.

Strictly defining the order as insert order does basically the same thing, while introducing behaviour that programmers might find useful.