Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tremon
on Feb 7, 2020
|
parent
|
context
|
favorite
| on:
Python dicts are now ordered
I don't think ordering and iteration are related, are they? Whether something is sortable has no impact on whether it is enumerable.
Sean1708
on Feb 7, 2020
|
next
[–]
What would it even mean for a container to be ordered if you can't iterate through it?
threatofrain
on Feb 7, 2020
|
prev
[–]
How I think about it is if something is unordered then the iteration strategy is a question.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: