Nifflas on Nostr: C# tip! You can use "{" and "}" anywhere to make a scope. Variables in it cannot be ...
C# tip! You can use "{" and "}" anywhere to make a scope. Variables in it cannot be accessed outside!
While I don't use it in a way that has an impact on what the code actually does, I really like doing it just for conveying intent that I can pick up when I read the code later.
Published at
2024-06-17 16:58:26Event JSON
{
"id": "6c40bc3745034ab2772d0d62f12aee219288434eb247e92370c16217b2e85865",
"pubkey": "24848b57810166dbfe7de9838e1e4947d9f4cf646ec4e8f31e81e7b10005c928",
"created_at": 1718643506,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/@Nifflas/112633020833439282",
"web"
],
[
"proxy",
"https://mastodon.gamedev.place/users/Nifflas/statuses/112633020833439282",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.gamedev.place/users/Nifflas/statuses/112633020833439282",
"pink.momostr"
]
],
"content": "C# tip! You can use \"{\" and \"}\" anywhere to make a scope. Variables in it cannot be accessed outside!\n\nWhile I don't use it in a way that has an impact on what the code actually does, I really like doing it just for conveying intent that I can pick up when I read the code later.",
"sig": "067ae99f78444d1bdd6b3e6042eb5655aa9b79ee0d1d714235892c1f8b6af4493dc0c68bed37991127706dd05ab70af643e1f282a7a73756f2bb9697289e6a92"
}