Digital Mark λ ☕️ 8647 on Nostr: "" is true, only #f is false (Scheme ofc). All the falsey values are hard to keep ...
"" is true, only #f is false (Scheme ofc).
All the falsey values are hard to keep track of once you know more than one language. I will say that's one area Java did right: tests only take a boolean result, so you must convert to true or false.
{
"id":"06ffd75a2c013722738dc090b44265c45d7f13e84f2a78c387d19482c5f71fde",
"pubkey":"5b8b404c218a082fea628088dfe894011ffd044b0b7e90ac688ba91a68dde3a8",
"created_at":1740979025,
"kind":1,
"tags": [
[
"t",
"f"
],
[
"proxy",
"https://appdot.net/@mdhughes/114096801419915964",
"web"
],
[
"e",
"2c534aad60fbb59f174a4d197da16323bbe9ab9bdc0ca34f7aad15e210b6e596",
"",
"root",
"3887f440dfa7b3804db1014ade3024b98955e721ab046ac33f214f1237f20247"
],
[
"p",
"3887f440dfa7b3804db1014ade3024b98955e721ab046ac33f214f1237f20247"
],
[
"proxy",
"https://appdot.net/users/mdhughes/statuses/114096801419915964",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://appdot.net/users/mdhughes/statuses/114096801419915964",
"pink.momostr"
],
[
"-"
]
],
"content":"\"\" is true, only #f is false (Scheme ofc).\n\nAll the falsey values are hard to keep track of once you know more than one language. I will say that's one area Java did right: tests only take a boolean result, so you must convert to true or false.",
"sig":"d620d95ec360e73a5273cec51e53de790db63a9386924edb05751889275512936ce3c7b7b65d6db2e2a6280c66509ba1ce0af598ca8689ed8d8847b7d477907a"
}