David Zaslavsky on Nostr: npub172v3n…u689n Personally I wouldn't see myself using this new type. I mean, we ...
npub172v3nlrtzd8wssn8f3ckm47jtsxdhq0jakqua3crgrvn7mmv32vsju689n (npub172v…689n) Personally I wouldn't see myself using this new type. I mean, we already have named tuples and dataclasses which serve a similar role, and I already find the existence of those two types to be a source of uncomfortable ambiguity - not that they're the same, of course, but I often encounter situations where I could use either one and I have no good reason to choose one over the other, and the existence of record types as a third option usable in many of the same cases would only increase that ambiguity.
I suppose if other people find it useful, who am I to object - it's not really hurting me to have another type syntax that I never use - but I guess I just don't get it 🤷
#Python
I suppose if other people find it useful, who am I to object - it's not really hurting me to have another type syntax that I never use - but I guess I just don't get it 🤷
#Python