• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle

  • I guess if that’s how it works for you, sure. For me it’s upvote if funny, nothing if meh and downvote if downright malicious (bigotry, toxic behavior etc.). I don’t think I gave out more than 10 downvotes on Lemmy during this whole year. Though I can see how this post might qualify for the “bigotry or toxic” category, but I’m willing to give it a benefit of doubt.

    That being said, if you have a different policy, who am I to judge.





  • TheEntity@lemmy.worldtoProgrammer Humor@programming.devGo vs Rust learning
    link
    fedilink
    arrow-up
    66
    arrow-down
    3
    ·
    edit-2
    8 months ago

    Go is like that abusive partner that gives you flowers and the next day makes you feel like shit. Then another day you go to an expensive restaurant and you tell yourself that maybe it’s not so bad and they still care. And the cycle continues.

    Rust is an autistic partner that sometimes struggles with telling you how much they care, is often overly pedantic about technical correctness and easily gets sidetracked by details, but with some genuine effort from both sides it’s very much a workable relationship.



  • If the hard mode merely makes everything into a bullet sponge with huge HP bar, no thanks. I’m perfectly fine with some games just being easier and others just being harder. Or having multiple well thought out difficulty options, but only if they are actually well thought out.


  • never mind, I looked it up. It’s a “reference” instead of a pointer. Similar, but unlike a pointer it doesn’t create a distinct variable in memory of its own.

    I’m almost sure it does create a distinct variable in memory. Internally it’s still a pointer, specifically a const pointer (not to be confused with a pointer to a const value; it’s the address that does not change). Think about it as a pointer that is only ever dereferenced and never used as a pointer. So yes, like the other commenter said, like an alias.