I rather write garage code than using slop

  • ColdWater@lemmy.caOP
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    but from what I understand from form posts is it’s harder to make qt6 programs with c than c++, because I have to make warper in my qt6 program with c++ for that c code to work? Idk I’m just getting started

    • istdaslol@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Honestly C and C++ code are the same. You can use C++ function calls and objects when needed and have everything else pure C. Don’t think of them as two completely different languages, C++ is more of an “object oriented framework for c” than its own language. That is a gross oversimplification but you get what I mean.

      • ImgurRefugee114@reddthat.com
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        That really hurts to read. Have you programmed with any spec newer than c++11? Best-practices have changed a lot. It isn’t “c with classes” anymore. Yes, most of the ancient code will work; but there are better, more efficient, and more ergonomic alternatives now.