little tip to nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6

learn what structural typing means and how it is so much better than context variables and inheritance

the amount of times that `context.Context` appears in go-nostr and khatru prompted me to make a custom package just to alias these to a reasonable shorter name (and they are non-idiomatic as it is... come on... don't stutter context.Context)

and now i'm ripping these out, en masse, from the codebase with delicious gusto and much joyous trumpets heralding delicious relief

Reply to this note

Please Login to reply.

Discussion

No replies yet.