tef on Nostr: i have just seen someone in all earnestness say "avoid branching because it makes ...
i have just seen someone in all earnestness say "avoid branching because it makes testing easier" and like i don't know where to begin with dismissing it
you should not be making your code harder to read in order to make it "easier to test", it will always backfire
advice that needs expertise to apply correctly is always useless: beginners do not benefit from it and experts dont need pithy dogma to follow
Published at
2024-04-13 17:06:27Event JSON
{
"id": "9e96fba91868dddbb465543705a2037b3f17830cb0e3b4708c21119cb201e99c",
"pubkey": "d86e0ad890dc2033020f4e53ba47d7e3088c32a5e70756a84f2048a962068b22",
"created_at": 1713027987,
"kind": 1,
"tags": [
[
"p",
"d86e0ad890dc2033020f4e53ba47d7e3088c32a5e70756a84f2048a962068b22"
],
[
"e",
"7dce0d89089c90c640bd41e48f875b72f848794e405d91b1cf93a68e78ce8b2a",
"",
"root"
],
[
"proxy",
"https://mastodon.social/users/tef/statuses/112265002208378996",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/tef/statuses/112265002208378996",
"pink.momostr"
]
],
"content": "i have just seen someone in all earnestness say \"avoid branching because it makes testing easier\" and like i don't know where to begin with dismissing it\n\nyou should not be making your code harder to read in order to make it \"easier to test\", it will always backfire\n\nadvice that needs expertise to apply correctly is always useless: beginners do not benefit from it and experts dont need pithy dogma to follow",
"sig": "7a6d6722e82874cca04fedf9aff9c15a298da97085f2571b5e66959e11674d9950a33bc63b37d969023a063abd17b7d294ce4bebffbc860761fce8bfeca967bb"
}