tegila on Nostr: I hate so much this B, B_, C, C_, secret thing, it’s almost impossible to write ...
I hate so much this B, B_, C, C_, secret thing, it’s almost impossible to write something understandable with this variable names. 2024 is JSON year. Let’s use long name standard: public_key, private_key, pre_image and signature. I’m thinking in adding an adapter so we could use both names and keep both standards.
Published at
2024-04-24 10:39:24Event JSON
{
"id": "f651c158ec676c383d6dc53f05d5741aea6a22db8c61c3aa69ad3679485cb067",
"pubkey": "e9ae796ea6af44ad46fa7b8c4bae4612ece321a01bbd9d866a68232835b2078e",
"created_at": 1713955164,
"kind": 1,
"tags": [
[
"e",
"d4c9479cda7d8b15958e443a456f1147bdd5f62da3991e470f7acf69dcf47888"
],
[
"e",
"102abcad7b09c0139e88b75e35ca72f400ea4fea1b27b44bcc7463c0311c49bf"
],
[
"p",
"50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63"
],
[
"p",
"7bbb6eba8fe6cb3e930f5390d4da409265ddd80f75867ac2c50216cef8d21566"
]
],
"content": "I hate so much this B, B_, C, C_, secret thing, it’s almost impossible to write something understandable with this variable names. 2024 is JSON year. Let’s use long name standard: public_key, private_key, pre_image and signature. I’m thinking in adding an adapter so we could use both names and keep both standards.",
"sig": "1a591747f3118d4a7e0fe9beef45f1bcd5369dacf139d4e442eca66fa9c65b7909c43088a584ee512a7c868b7652f3bb9e0b98025a729674c6290ce97baf78c5"
}