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

Shouldn't be too bad. After all, it's a strict superset of the functionality of the old hash. The only confusion will come when someone looks at some code and notices, "Hey, shouldn't this be an ordered hash?" Then they go google "ruby ordered hash" and this blog post pops up and problem solved.


Basically it'd be nice if you could distinguish between instances where iteration order is important and not important. A separate datatype would do that (at the expense of other things, obviously)




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

Search: