Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Again, any order was fine, as long it was stable

Understood, but that is not a guarantee of hashmaps. Hashmaps, by themselves, are a concept independent of any programming language.

So, sure, I get that your expectations of a hashmap's behaviour was set by some programming language $FOO, and that it is reasonable to expect that someone who learned on $FOO has the expectation that a hashmap has a specific behaviour.

But, that being said, after you learn that a hashmap is a concept independent of any programming language, and after you learned that that concept does not guarantee the behaviour you expect, it's signficantly easier to change your expectations for hashmap behaviour than to change the definition of the concept's guarantees.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: