No offence

  • Hazzia@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I’m not too familiar with C, but I was under the impression that C++ was deceloped as a superset to C, and was capable of everything C could do. Is that not the case?

    • abessman@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I mean yeah, if you restrict yourself to the C part of C++ it can do everything C can. But then you’re not getting any of the advantages of C++.

      Once you start using things like classes and templates heavily, your program will quickly outgrow low-end hardware.