> But even given that (and I am only speaking for my team), I haven't even
> seen a use-case for namedtuples in a year. Every time we considered it,
> people said: "please make it its own class for documentary purposes; this
> thing will tend to grow faster than we can imagine".
Using namedtuple doesn't stop the class from being its "own class".
Typical use case:
class Foo(namedtuple("Foo", "bar "baz"), FooBase):
"Foo is a very important class and you should totally use it."""
return self.bar + self.baz