News for hackers. Stuff that matters.
Re:Functional Python Programming by qbasic_forever on Friday June 09, 2023 @10:22AM (#36258230)
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.
Re:Functional Python Programming by amanj41 on Friday June 09, 2023 @10:39AM (#36258513)
I would add frozenset as the other immutable collection. The other points are well taken though