logoalt Hacker News

sam_bristowlast Friday at 8:50 AM1 replyview on HN

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.


Replies

morshu9001last Friday at 6:26 PM

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