What is Nostr?
Capital /
npub1ryf…ur9z
2023-06-29 04:02:02
in reply to nevent1q…yfp9

Capital on Nostr: npub1lnh4s…x96ts :: The main thing I like about unions is the free association of ...

npub1lnh4sey03wehr2gr02c3a60jj4h2zl8a9053zdx6eydwnthhk90svx96ts (npub1lnh…96ts) :: The main thing I like about unions is the free association of types. It allows me to write a function that takes in a subset of a larger type. With enum/ADTs, you have to handle every member or select which underlying type you want to operate on.

If I only care about "colors with a red channel", I still have to deal with HSL and CMYK in Rust, even if it's just adding a default match.

Author Public Key
npub1ryfja06pvw3rnyv3hjgvy0en68lyj3wta8yq0vx3j6ch9gnsr9ss2wur9z