mleku on Nostr: omg yeah this is one of the features that Go adopts implicitly all \n is in fact ;\n ...
omg
yeah this is one of the features that Go adopts
implicitly all \n is in fact ;\n
except after comma
comma lets you break the line without breaking the statement
so, go is line structured like python but the actual whitespacing is not enforced, and under several conditions you can break lines... another one is operators, + - * | & || && / these can have a \n after them without breaking the statement
Published at
2024-07-04 23:19:22Event JSON
{
"id": "56961e64ebb727ae0052902d7fe70600bacae16db662551ae498d7c3989555fc",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1720127962,
"kind": 1,
"tags": [
[
"e",
"c122e62085758972d0c6f7c9e792312ea5f4deac56b1b4820f9354f3625ddce6",
"",
"root"
],
[
"e",
"6f46c8668e2bd553a2f96236db71db201887572785e55ea537423b2e2e1f85ba",
"",
"reply"
],
[
"p",
"dd664d5e4016433a8cd69f005ae1480804351789b59de5af06276de65633d319",
"",
"mention"
]
],
"content": "omg\n\nyeah this is one of the features that Go adopts\n\nimplicitly all \\n is in fact ;\\n\n\nexcept after comma\n\ncomma lets you break the line without breaking the statement\n\nso, go is line structured like python but the actual whitespacing is not enforced, and under several conditions you can break lines... another one is operators, + - * | \u0026 || \u0026\u0026 / these can have a \\n after them without breaking the statement",
"sig": "ea3a25cac6cc674afdb08ce7749c35895af51ac442f760d2ec914419303aeb006854ca9c79af2497c70b391f117595104231b3bb7484273cb65fb4ad05dc10f7"
}