Gavin [ARCHIVE] on Nostr: 📅 Original date posted:2013-10-25 📝 Original message:On Oct 26, 2013, at 11:01 ...
📅 Original date posted:2013-10-25
📝 Original message:On Oct 26, 2013, at 11:01 AM, Jean-Paul Kogelman <jeanpaulkogelman at me.com> wrote:
>
> Would it make sense to use either fixed length strings or maybe even enums?
No. Enums or fixed length strings just make it harder to extend, for no benefit (bandwidth of 'reject' messages doesn't matter, they will be rare and are not relayed).
Published at
2023-06-07 15:08:08Event JSON
{
"id": "72fc096a246b3fc8925cf0ca2f847a1859952944aef889f83bd51c5301123893",
"pubkey": "4b1a5906489c6232556bd6a398a430750448185cee39bc8d0b764178775dc150",
"created_at": 1686150488,
"kind": 1,
"tags": [
[
"e",
"3817326e0aa3f4776a8ff8e7526de3607739981db781c73ec645db4eafebe42c",
"",
"root"
],
[
"e",
"cf91d2509a772ab14483a3d8c1056f49149ede49f9816a1ab0fce95bb7339e40",
"",
"reply"
],
[
"p",
"874fa44d110b2119208ba6fb27607799f16a00c82143201ad7f179a89f0df349"
]
],
"content": "📅 Original date posted:2013-10-25\n📝 Original message:On Oct 26, 2013, at 11:01 AM, Jean-Paul Kogelman \u003cjeanpaulkogelman at me.com\u003e wrote:\n\n\u003e \n\u003e Would it make sense to use either fixed length strings or maybe even enums?\n\nNo. Enums or fixed length strings just make it harder to extend, for no benefit (bandwidth of 'reject' messages doesn't matter, they will be rare and are not relayed).",
"sig": "59d9107c36508207e4d9bb7d1cca398066e6de18399775551c88572cdf31ab86c4cfa46f027e84b75bcccd418520987ed00aafd402534e2a2e7e8e9b5eb67c3b"
}