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": "27b3cf0732e034caa264b72f054f2a645f1ac3186cfe0d40568a8c813357d57e",
"pubkey": "5fab615b0e66ab3e38a8aef56292930d64da3c3ab4f811164ca3c40e4e5c10bb",
"created_at": 1718643506,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/users/Nifflas/statuses/112633020833439282",
"activitypub"
]
],
"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": "6a1b1f2c4bb15230867615c7a54908f181207779cb5bba22bf9ee846259811f283ab60fa8f06878ff88cb6cde40dcd45be183c375551f62cf717b3dc2e610634"
}