var Turtle1 var Turtle2 var Is_Turtle

  • OttoVonNoobOP
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    Oh yea, class resources. That would work! Thanks.im going to have to into this more, as it’s going to be useful

    • arendjr@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Just keep in mind that inheritance is nowadays a very contested feature. Even most people still invested in object oriented programming recognise that in hindsight inheritance was mostly a mistake. The industry as a whole is also making a shift to move more towards functional programming, in which object orientation as a whole is taking more of a backseat and inheritance specifically is not even supported anymore. So yeah, take the chance to learn, but be cautious before going into any one direction too deeply.

    • Dr. Wesker@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      4 months ago

      If I could give a suggestion I wish I had gotten much earlier on in my education and career, it would be to really spend some time learning about the different paradigms, and their best use cases. You will likely ensure yourself a strong foundation in software architecture.

      • OttoVonNoobOP
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        I’ll check it out! I’m very casual and doing thus mostly as a passion/Fun project. But I love any direction thank you:)