• kredditacc
    link
    fedilink
    arrow-up
    7
    ·
    11 months ago

    Is this some sort of OOP joke I’m too Rust to understand?

    • loathsome dongeaterA
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      I never understood the difference between class and structs. From my limited knowledge both Python classes and Rust structs can have methods and attributes.

        • loathsome dongeaterA
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 months ago

          Now that you mention it, I do remember learning about features of OOP in my 9th grade Java class. Inheritance was one of them. There were other terms as well that I can’t recall clearly.