Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
el_presidente
· 14y ago · 0 comments
Dicts are objects.
Comments
[–]
stock_toaster
14y ago
That is an implementation detail due to python's object support. Dicts are a native type, that are hashmaps.
Unless you mean "object" as in "a thing"....
[–]
Maro
14y ago
I think he means dicts combine data, state and functionality, expose a clean API and hide the details.