Jamie on Nostr: "If your script becomes larger than what’d be appropriate to store in a single ...
Published at
2023-11-02 01:23:17Event JSON
{
"id": "866fc77c102982c2c05966cd18597935727b19eae13fd0f029253e250d85d193",
"pubkey": "c26652ca20d6b13926606a33999782d412ab4c3b68fdbda131245c3c997d2070",
"created_at": 1698888197,
"kind": 1,
"tags": [
[
"t",
"programming"
],
[
"t",
"ShellScripts"
],
[
"t",
"softwaredevelopment"
],
[
"proxy",
"https://fosstodon.org/users/suprjami/statuses/111338336913795407",
"activitypub"
]
],
"content": "\"If your script becomes larger than what’d be appropriate to store in a single reasonably sized function, it should no longer be a script.\"\n\nWhat if the script has functions and each function can be tested separately?\n\nhttps://benjamincongdon.me/blog/2023/10/29/Avoid-Load-bearing-Shell-Scripts/\n\n#Programming #ShellScripts #SoftwareDevelopment",
"sig": "2acc93e48784ef43c3b408c29d5f892900f25eaa020ce13e597e487f80f04cf0456caac965b2b4582d31d4cf4ea33a58e740127ce499214570a6cb12b0908ca5"
}