tef on Nostr: i still haven't quite recovered from a coworker explaining that he disabled request ...
i still haven't quite recovered from a coworker explaining that he disabled request signing, so that authentication tokens could be reused as it made the tests easier to write
sure as anything "tests are hard to write" is a code smell, but the problem is elsewhere. bad tests are a symptom
but solving it with "code is harder to read" is the sort of thing that should have been laughed out the office twenty years ago
Published at
2024-04-13 17:16:20Event JSON
{
"id": "1782ca818ff0a5bd42c2ef30ca34ef17bbf109eda26ca90a1858db298af1a12e",
"pubkey": "d86e0ad890dc2033020f4e53ba47d7e3088c32a5e70756a84f2048a962068b22",
"created_at": 1713028580,
"kind": 1,
"tags": [
[
"p",
"d86e0ad890dc2033020f4e53ba47d7e3088c32a5e70756a84f2048a962068b22"
],
[
"e",
"7dce0d89089c90c640bd41e48f875b72f848794e405d91b1cf93a68e78ce8b2a",
"",
"root"
],
[
"e",
"68cb2ccdc3cd218656b221665000d09200830f8e4c054f3a06b25123b9b72e24",
"",
"reply"
],
[
"proxy",
"https://mastodon.social/users/tef/statuses/112265041066566554",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/tef/statuses/112265041066566554",
"pink.momostr"
]
],
"content": "i still haven't quite recovered from a coworker explaining that he disabled request signing, so that authentication tokens could be reused as it made the tests easier to write \n\nsure as anything \"tests are hard to write\" is a code smell, but the problem is elsewhere. bad tests are a symptom\n\nbut solving it with \"code is harder to read\" is the sort of thing that should have been laughed out the office twenty years ago",
"sig": "b5577e4e41ace966aaeac81579326800e0c375276ce166982d0bdd8351bc46e212a4dfb14c0822da5bfb5e9ab7e9cfefd8425b945fdfb6e16fa71d59561d53f3"
}