David Megginson on Nostr: npub1ldk3l…s5msg I'm undecided about this. A longer compound boolean takes longer ...
npub1ldk3lajhsvstz8vjxa4avv6utvnlv8a8ujt4ykpes0p7ggeevyssus5msg (npub1ldk…5msg) I'm undecided about this. A longer compound boolean takes longer to read, but it shows all the logic in one place. Splitting into many short ones makes each easier to read, but full understanding requires you to piece together the logic, like shards of broken pottery.
I'd probably put the cost/benefit cutoff at 3–4 booleans in a statement instead of just one.
Published at
2023-05-27 13:55:47Event JSON
{
"id": "caac67418703ee12ceda77e7b6a76e31cccdae89c4e5fe00cacd2f64ef64cc32",
"pubkey": "4b703a78efed9bb15ceab1fec443d5d05b18439e96837b7ac0d6b3de1f1fc673",
"created_at": 1685195747,
"kind": 1,
"tags": [
[
"p",
"fb6d1ff6578320b11d92376bd6335c5b27f61fa7e49752583983c3e423396121",
"wss://relay.mostr.pub"
],
[
"p",
"650f1ea8ded4e89cd4bd440688bb810ad756c7be3e3051caed2fa6eef0cbc38c",
"wss://relay.mostr.pub"
],
[
"e",
"335d1acaf558fca5a38d7202d4498371d712dd8f57aee084b4fb6ce98ecfa0b0",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://mstdn.ca/users/david_megginson/statuses/110440988530078251"
]
],
"content": "nostr:npub1ldk3lajhsvstz8vjxa4avv6utvnlv8a8ujt4ykpes0p7ggeevyssus5msg I'm undecided about this. A longer compound boolean takes longer to read, but it shows all the logic in one place. Splitting into many short ones makes each easier to read, but full understanding requires you to piece together the logic, like shards of broken pottery.\n\nI'd probably put the cost/benefit cutoff at 3–4 booleans in a statement instead of just one.",
"sig": "85bca6a42495313a7e0c75e499c7e3d1ed1e8a955bd926f6f77f5b72077ba8679aef85f8f52cfd9449827b7a963fc02b5c079c8b3906273882e65fd1099c7b06"
}