Re:Python dicts are now ordered
by viraptor on Friday February 07, 2020 @05:12PM
(#22271634)
Using OrderedDict is actually nice in this case, even if the default dict has the same ordering. That way you're explicitly saying you rely on that behaviour and it makes reading the code easier.
[ Parent
| on HN ]
There are no comments on this comment yet.