• Lemmist@lemm.ee
    link
    fedilink
    arrow-up
    8
    arrow-down
    19
    ·
    18 hours ago

    Prevent what? UNDERSTANDING the code?

    Yeah, Rust is quite successful in that :)

      • Lemmist@lemm.ee
        link
        fedilink
        arrow-up
        4
        arrow-down
        13
        ·
        17 hours ago

        That’s a rather old joke. Modern compilers print more adequate things on STL/templates related things.

        And it doesn’t make Rust any better.

        • kiri@ani.socialOP
          link
          fedilink
          arrow-up
          7
          ·
          16 hours ago

          Yeah, I know, that all just a humour. I almost always use C++, inspite of knowing rust (cz no jun vacncies for rust, but still). There is no modern language which is absolutely better than other one — compromises are everywhere, that’s why it’s a silly topic to argue about.

    • bitcrafter@programming.dev
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      13 hours ago

      You do not come across as clever as you think that you are when your central point is that you personally are not capable of understanding code written in a different programming language.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      11 hours ago

      I feel like a really bad job has been done of making it simple, honestly. Or at least was last I checked.

      Pointers allow aliasing XOR mutability. There’s all kinds of nuance layered on top of that if you look in the compiler developers resources, but that’s just to allow for all the different kinds of sugar people want in a modern language.