3 ms·
looks like the key thing is immutability
by nsonha 5y ago
looks like the key thing is immutability
- aix1 5y agoTo clarify, both named tuples and dataclasses can be immutable (the former are always immutable and the latter can be made immutable with `frozen=True`). There is no way, however, to make a named tuple mutable.
- dreamofkoholint 5y agoKey thing for me was the ability to add type hinting