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

> Being as specific as possible with your types is how you make things more readable in Python.

If Dict already guarantees to keep Order, nothing ist won by using both Dict and OrderedDict. Just use Dict.



The mere fact we're having this discussion means people don't know the guarantees and be being more explicit there is less room for confusion.




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

Search: