News for hackers. Stuff that matters.
Re:Python dicts are now ordered by ben509 on Saturday February 08, 2020 @07:25AM (#22275394)
Very few algorithms really care, rather, it's when you're composing them that maintaining insertion order avoids a lot of boilerplate in having to cart that information around.

For the same reason, though, it's potentially a bad idea. All these algorithms that generate dicts generally won't promise to maintain insertion order, they just happen to by chance. Then consumers come to depend on it and be surprised when it inevitably changes.

There are no comments on this comment yet.