Alex Gleason on Nostr: Update: I’ve become convinced that numbers are actually a better design choice than ...
Update: I’ve become convinced that numbers are actually a better design choice than words for event types, since numbers can have the same name but you can deprecate the old one. Eg instead of “repost” and “repost_but_better” you can just go from 6 to 7 and they’re called “repost (deprecated)” and “repost”.
“p” and “e” are still questionable.
Published at
2023-02-28 16:47:43Event JSON
{
"id": "5e0cec14ba8cea1fa52f03279201a69924b67997afcf9e369515182942b62be8",
"pubkey": "a06f17ffb19bf45857e5974ac8bb1bea578189786eea458e443bdf8c3d533bd3",
"created_at": 1677602863,
"kind": 1,
"tags": [
[
"p",
"a06f17ffb19bf45857e5974ac8bb1bea578189786eea458e443bdf8c3d533bd3",
"wss://relay.mostr.pub"
]
],
"content": "Update: I’ve become convinced that numbers are actually a better design choice than words for event types, since numbers can have the same name but you can deprecate the old one. Eg instead of “repost” and “repost_but_better” you can just go from 6 to 7 and they’re called “repost (deprecated)” and “repost”.\n\n“p” and “e” are still questionable.",
"sig": "e4525d183a15d36207d19e7f507c78a1447250c5e2b81da5c367814b665b2d0889f122ce8d869a32f9159384283e401f30856a904dfc18195b991667ecd059f9"
}