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

Honestly, if I was writing some code that depended on dicts being ordered I think I'd still use OrderedDict in modern Python. I gives the reader more information that I'm doing something slightly unusual.


Same. Usually if a language has an ordered map, it's in the name.




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

Search: