• ramirezmike@programming.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    10 months ago

    I’ve found whenever people complain about rust code they can only point out how it’s different but not why it’s worse and I can usually point to a reason why it’s better.

    to be fair, I get sometimes it’s difficult to pinpoint why something is bad and even “being different” can be a legitimate criticism on its own

    • hansl@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      10 months ago

      People who learnt structural OOP without actually understanding typing system and their benefits really struggle with learning Rist as they try to map classes onto structs and it just doesn’t work.

      Traits are not inheritance. Box is not polymorphism. Rust is not C++ with more keywords.