Kate Morley on Nostr: If you’re designing a programming language, please consider allowing hyphens in ...
If you’re designing a programming language, please consider allowing hyphens in identifiers. Hyphen-separated text (kebab-case) is more readable than camelCase, and doesn’t require use of the shift key like camelCase and snake_case. There’s no ambiguity with subtraction if you require spaces around binary operators (which every style guide I’ve ever used requires anyway).
Published at
2024-05-01 16:33:27Event JSON
{
"id": "2d283ce77471a78e20ab4c7315b03738339313a86a853c473745e667082c89b4",
"pubkey": "7ffb2c5073d0a83735bc500fa60588eb984f759a466454c3496ad5e2f19825c7",
"created_at": 1714581207,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/kate/statuses/112366793997529908",
"activitypub"
]
],
"content": "If you’re designing a programming language, please consider allowing hyphens in identifiers. Hyphen-separated text (kebab-case) is more readable than camelCase, and doesn’t require use of the shift key like camelCase and snake_case. There’s no ambiguity with subtraction if you require spaces around binary operators (which every style guide I’ve ever used requires anyway).",
"sig": "2a2f3342b447090008d855680b3b35caf9acb7f06cf4d59a4b2bd838706624d4739f05a6360e725077070ae172112bfea15d33df2c561996cc6b91a1fa9a8d7a"
}