Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
compiler-guy
on Feb 7, 2020
|
parent
|
context
|
favorite
| on:
Python dicts are now ordered
Which means no one gets it for free when it is added to the language.
jmilloy
on Feb 7, 2020
[–]
You could add an ordered dict by a different name and also have dict be the more efficient ordered version so that people get the efficiency gain for free but don't have to worry and forward compatibility.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: