Re:Redesigning Python's named tuples
by bpicolo on Friday September 01, 2017 @09:00AM
(#15147978)
A lot of people (my whole company, for sure) are using namedtuples essentially just as immutable structs. This is a case where classes aren't sufficing. To be fair, it's at least a little bit the functional-programming, immutability bandwagon, but either way it's helping maintain large python apps with many devs.
Python36 gradual typing also helps here though, and am definitely interested to see if that changes the game a bit
Python36 gradual typing also helps here though, and am definitely interested to see if that changes the game a bit