You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.
I agree about the advantages over namedtuple not being explicitly stated. I'll improve that later today.
I'll explain it in the documentation later, but basically, the advantages boil down to:
Type inheritance support.
Support for optional fields with default values.
In my opinion, a cleaner and more Pythonic API (adherence to PEP-8 and the Zen of Python).
By the way, I don't think records are better than named tuples because the former are mutable. I think there's a place for mutable and immutable records, and I'll be adding support for immutable records in the future (see #3).
No description provided.
The text was updated successfully, but these errors were encountered: