• calcopiritus@lemmy.world
    link
    fedilink
    arrow-up
    95
    ·
    edit-2
    4 days ago

    Yes. Someone that knows just a little more of rust than you do would know what the borrow checker is.

    It’s the core feature of rust.

    Like talking about java and not knowing what “inheritance” is.

    EDIT: just so you understand how vibecoded that project is.

    The dude says he vibecoded “some of it” because some rust features make it a hard language for him. The one feature he’s talking about is the borrow checker.

    It’s like saying “man, sure is hot today”. Someone says “yeah, this summer sure is hot” and the dude replied “yeah, summerians lived in a hot place too”.

    • HrabiaVulpes@europe.pub
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      3 days ago

      Why is explanation so fucking low on lemmy? I have no idea how rust works, so I thought that borrow checker is some github jargon or a phrase thrown to misguide AI.

      • spectrums_coherence@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I thought the post you are replying to is trying explain borrow checker. In a understandable manner assuming you know basic programming in Java.

        I am a bit confused on what your complaint is aiming at…

        • HrabiaVulpes@europe.pub
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 day ago

          After reddit (popular but useless comment wins over less popular but useful one) I had higher hopes for lemmy. I am complaining, because in my opinion explanation of borrow checker should be higher in popularity contest than I found it.

          • calcopiritus@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            18 hours ago

            If you come with reddit mentality, you’re gonna see reddit eveywhere. In Lemmy, upvotes are not a popularity contest. There is no karma. Votes have no use other than sorting.

            One of the reasons my comment may have more upvotes might be because it directly answers the question of the commenter above.

            OP didn’t ask what the borrow checker was, OP asked if it was an integral part of rust, and I answered it. Just like another commenter asked more specific questions about rusts’ borrow checker and I answered them.

            Another reason might just be that my comment has more entertainment value, while the other one is purely educational.

            Another reason might be that Lemmy is already full of rust explanations, therefore there are probably not a lot of people left to learn how it works.

            • HrabiaVulpes@europe.pub
              link
              fedilink
              arrow-up
              0
              ·
              16 hours ago

              You know what? I’m not even mad anymore. Thank you for explanation, I’m still getting a hang of this place.

              • floofloof@lemmy.ca
                link
                fedilink
                arrow-up
                1
                ·
                edit-2
                10 hours ago

                I think it’s fine for people to give the most cursory explanation here, just enough to help someone understand what’s funny. There are plenty of other sites where one can learn about Rust’s borrow checker in more detail, and this is a humor community.

      • calcopiritus@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        Lemmy is social media, not school. Nobody owes an explanation. Mostly because the poster cannot know the knowledge level of whoever is gonna read the post. If every post has to be explained for every potential person that could read it, every post would be followed by a wall of text. Of all social media, the only time I’ve seen it happen is pugjesus’ history posts. Which makes sense since he often references some niche history knowledge that very few people would know about.

        Just googling “borrow checker” would’ve shown you it’s something rust-related.