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

This burnt me when I wrote an algorithm. I depended on the order of keys in dicts as it allowed me reference the value both by index and key.

I wrote the code in python 3.7+, and ended up spending a good amount of time debugging it when I ran it in a earlier python version.



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

Search: