Event JSON
{
"id": "4f9334ba7d7a6820a45913fe6aba952dc98c85ec2a5c5e9bd004aab4c7874750",
"pubkey": "eb733d1abb59c91bf0ed23f039cc8cdc30ba712ed099b73f8496c1971dddfe0a",
"created_at": 1715731089,
"kind": 1,
"tags": [
[
"p",
"4eb7084dc44b84ca9ba5d09b1dcbd8dcab11ed58b74009fe4ff0950cf0fe94b1",
"wss://relay.mostr.pub"
],
[
"p",
"ee2fc5e6834ad6a8f810a6b5678368d1b616ba35bdf8d62006f14a4cdd344ebf",
"wss://relay.mostr.pub"
],
[
"t",
"iosdev"
],
[
"t",
"iOS"
],
[
"proxy",
"https://mastodon.social/users/BrendanThompson/statuses/112442152688557491",
"activitypub"
]
],
"content": "TIL about the switch statement with assignment upfront in nostr:npub1f6mssnwyfwzv4xa96zd3mj7cmj43rm2ckaqqnlj07z2seu87jjcsxd9g3s latest article. I’m a heavy user of switch statements I feel like the assignment side might help replace rather a few if statements!\n\nhttps://www.donnywals.com/swifts-if-and-switch-expressions-explained/\n\n#iosdev #iOS",
"sig": "c77dbdc53922ba0175dc360257774b5ac65bbf7006819fb908b41213f0ffd962f6890de068808bf81a2e4049e841f628fad5ceb897e86cd2b6ac08e37ff2eae4"
}