What is Nostr?
Ben Pate 🤘 /
npub1es6…vpps
2023-10-02 02:14:39
in reply to nevent1q…26mc

Ben Pate 🤘 on Nostr: Just this: there are tons of ways that an API call can fail, but most Fediverse ...

Just this: there are tons of ways that an API call can fail, but most Fediverse software just returns something unhelpful, like 500 Internal Server Error.

For production software, that’s probably reasonable, but a well-written test suite should help people debug, not just tell them about the bug.

So if I have a voice, a test suite should really return errors like: “this message was not accepted because it is missing a ‘name’ field.”

npub1u27r9h3j9pvrplaffsmpn698e8xhmuqhdgcxldv67ammql9pumnqha3qfq (npub1u27…3qfq) npub1fmhk33ta7scnlmhdur3xvju4w29qlc0kare9pkqupt2efe4lae8qashpey (npub1fmh…hpey)
Author Public Key
npub1es6fdp8fkgu508j9egkx6zkkkdy3u5m2tjm3a5t8r8fhvnvm9egqxcvpps