What is Nostr?
David Foster /
npub1fd8…q5sf
2023-12-31 04:23:01
in reply to nevent1q…g7kw

David Foster on Nostr: npub172v3n…u689n The PoC seems like a curious combo of a dataclass (always with ...

npub172v3nlrtzd8wssn8f3ckm47jtsxdhq0jakqua3crgrvn7mmv32vsju689n (npub172v…689n) The PoC seems like a curious combo of a dataclass (always with frozen=True, eq=True) and a TypedDict (structural subtyping). Not different enough from either to be worth introducing IMHO.

I'd be very hesitant to propose syntax for any record type without there already being broad usage. We don't even have syntax support for dataclasses yet.
Author Public Key
npub1fd8mva7ep8j3ge63knr2q0jrf9nnda05p82l3hdsy5k9wf3a2atq4nq5sf