Mo :ferris: :tux: on Nostr: npub1ha2lr…mk5hs I also don't agree with the general recommendation of using ...
npub1ha2lruw3206t0vvrkum95nwc5vqj5rx4nyssfn3j4mjfwur3x8nsymk5hs (npub1ha2…k5hs) I also don't agree with the general recommendation of using `.clone()`. Maybe it can be more specific?
I recommend cloning for Rust beginners to not deal with extra lifetimes until they feel comfortable with them.
I also recommend cloning while prototyping. But before a release, one can just search for all `.clone()` calls and see if they can be easily removed.
But you did a great job of relativizing cloning for its valid use cases.
Published at
2023-09-23 19:36:21Event JSON
{
"id": "5e5dd86587d0bcc954ba64005f8f6eb31f9e4b20e5b68b7adb3a12722927536a",
"pubkey": "979383f8767c5d795fcad86f82dc7b38b384c1a473710c433014dc2c0fb0e359",
"created_at": 1695497781,
"kind": 1,
"tags": [
[
"p",
"bf55f1f1d153f4b7b183b7365a4dd8a3012a0cd5992104ce32aee497707131e7",
"wss://relay.mostr.pub"
],
[
"p",
"99fcbcfaa55a2c9c2f8c820006285ec4cab786d6b134f54726da9ce406f3ad5b",
"wss://relay.mostr.pub"
],
[
"e",
"578973d713c06205e4d0871d6d14b09946272de8f95afe89728d08d3054fd4f2",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/mo8it/statuses/111116142617710621",
"activitypub"
]
],
"content": "nostr:npub1ha2lruw3206t0vvrkum95nwc5vqj5rx4nyssfn3j4mjfwur3x8nsymk5hs I also don't agree with the general recommendation of using `.clone()`. Maybe it can be more specific?\n\nI recommend cloning for Rust beginners to not deal with extra lifetimes until they feel comfortable with them.\n\nI also recommend cloning while prototyping. But before a release, one can just search for all `.clone()` calls and see if they can be easily removed.\n\nBut you did a great job of relativizing cloning for its valid use cases.",
"sig": "cebc7f13c5fa5e5212314bb212ebc44772c887477c66184e2dcfef49d80d8fb9e9d1b716d10fe115692a038a526716a76e32f6aeb141e35ff732e461c8232c7e"
}