Global Feed Post Login
Replying to Avatar Hunter ₿eaṩt

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.

Avatar
plebiolira 2y ago

#relaytotwitter

Reply to this note

Please Login to reply.

Discussion

Avatar
seenOnNostr 2y ago

note relayed to twitter.

view here: https://www.twitter.com/seenOnNostr/status/1681821290523693056

.

Thread collapsed
Avatar
Hunter ₿eaṩt 2y ago

We'e come full circle, lol!

https://twitter.com/cryptoquick/status/1681178171868327937

Avatar
plebiolira 2y ago

😂

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.

Avatar
Hunter ₿eaṩt 2y ago

That sounds awesome!

Thread collapsed
Thread collapsed
Thread collapsed