Lars Wirzenius on Nostr: Should programming languages make it a compile time error if a function has more than ...
Should programming languages make it a compile time error if a function has more than N nested control structure (if inside while inside if inside...). What should N be? 1? 2? 3? 42?
Published at
2024-08-03 14:54:41Event JSON
{
"id": "70a63e9a9ce5396315c6ed96f4dce7ffc1e50defa879001704ae8a946b5600a2",
"pubkey": "b10dc1f389e232d431638f9ab5e479818b1bfab197d62e420c170baf0bec09cb",
"created_at": 1722696881,
"kind": 1,
"tags": [
[
"proxy",
"https://toot.liw.fi/users/liw/statuses/112898662817747684",
"activitypub"
]
],
"content": "Should programming languages make it a compile time error if a function has more than N nested control structure (if inside while inside if inside...). What should N be? 1? 2? 3? 42?",
"sig": "08489b09581bcf5f3b4a3019da3b09f4e12b947598147badca02bdb55712cdbdf16dd1a91cc13edc1f435bcd400c73826ed0b08c180fadb3669bf5fe082715eb"
}