🍄🌈🎮💻🚲🥓🎃💀🏴🛻🇺🇸 on Nostr: Everybody in #softwareDevelopment wants to scold you for deep nesting, but nobody ...
Everybody in #softwareDevelopment wants to scold you for deep nesting, but nobody complains about compound booleans.
A statement should not contain more than one boolean operator.
It's the #programming equivalent of a run-on sentence.
You'll split a whole block of #code into a function just to avoid an indentation but you'll write a statement with a ternary and a couple groupings? GTFO!
#webDev #javaScript #software #coding
Published at
2023-05-27 13:50:12Event JSON
{
"id": "335d1acaf558fca5a38d7202d4498371d712dd8f57aee084b4fb6ce98ecfa0b0",
"pubkey": "650f1ea8ded4e89cd4bd440688bb810ad756c7be3e3051caed2fa6eef0cbc38c",
"created_at": 1685195412,
"kind": 1,
"tags": [
[
"t",
"coding"
],
[
"t",
"software"
],
[
"t",
"javascript"
],
[
"t",
"webdev"
],
[
"t",
"code"
],
[
"t",
"programming"
],
[
"t",
"softwaredevelopment"
],
[
"mostr",
"https://mas.to/users/schizanon/statuses/110440966557293358"
]
],
"content": "Everybody in #softwareDevelopment wants to scold you for deep nesting, but nobody complains about compound booleans.\n\nA statement should not contain more than one boolean operator.\n\nIt's the #programming equivalent of a run-on sentence.\n\nYou'll split a whole block of #code into a function just to avoid an indentation but you'll write a statement with a ternary and a couple groupings? GTFO!\n\n#webDev #javaScript #software #coding",
"sig": "bcbcf73a8d482f059c4e448e7f851e348e37b99aca9f7fd86e19c23a0613c72c52394afeb9be59422ae704d941325d59fbfd27c542347b0c86d16448bf781ae6"
}