Hacker News new | past | comments | ask | show | jobs | submit login

From the language specification: "The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next."

There's a long shot between "not specified" and "uniformly random".




The joke is that the sort of people who rely on apparent behaviour in practice isn’t the sort that tends to look things up in specifications.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: