Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
qbasic_forever
· 3y ago · 0 comments
I agree but it's not so dire, the tuple type (and variants like namedtuple) is pretty powerful, non-mutable and often my first choice for data structure in python. Everything else can be built on top of it if you're really motivated.
Comments
[–]
amanj41
3y ago
I would add frozenset as the other immutable collection. The other points are well taken though