3 ms·
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 informatio
by sam_bristow 10mo ago
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.
- morshu9001 10mo agoSame. Usually if a language has an ordered map, it's in the name.