What is Nostr?
Dusty Pomerleau /
npub1t00…5tp0
2024-10-06 23:44:49

Dusty Pomerleau on Nostr: I hear people saying that it’s good to use meaningful names for generics and ...

I hear people saying that it’s good to use meaningful names for generics and lifetimes in #RustLang, but I think that conditioning plays a role. If you are trained to immediately understand `’a’ and ’T’ as having certain meanings, then foreign codebases that follow such conventions feel familiar. When they use `’meaningful’ and `Meaningful` instead, it takes your brain some extra cycles to catch up. Since generics often have trait bounds, the bounds do a good job of communicating intent anyway.
Author Public Key
npub1t007tscc3gj0wmhaxajgjvxc4k37gkykr5pm9cxkyktdfamwgauqjg5tp0