Our code contains few comments, and recently that left room for ambiguity which was caught in code review. I added an assertion and error condition to catch the ambiguity, but I realized; if I had written a comment, would I have ever come to write the code to handle this error condition?
Lesson:
Don't comment your code, just write more code. There are lies, damn lies, and then there's documentation.
#relaytotwitter
Please Login to reply.
note relayed to twitter.
view here: https://www.twitter.com/seenOnNostr/status/1681821290523693056
.
We'e come full circle, lol!
https://twitter.com/cryptoquick/status/1681178171868327937
😂
I'm working on a tool to automate the Nostr=>Twitter mirroring, so users can post on Nostr only and let the tool do the rest.
That sounds awesome!