• Pelicanen@sopuli.xyz
    link
    fedilink
    arrow-up
    4
    ·
    7 hours ago

    …do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it’s absolutely necessary since it’s not an OOP language.

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language

      Fair. It is harder to break things in C++ than C. Although I’ve definitely created a few memory leaks.

      I’ll admit I haven’t actively fucked with C++ in over a decade, but in my experience you’re not going to find the kind of native integration with - say - Azure or SQL that’s baked into more modern languages. You can work around this with libraries. But eventually you’re just emulating a higher level language.