• Valmond@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    10 months ago

    If you do C, and avoid pointers, do tell me what the point is using the language at all?

    I mean if memory management is “the only way to shoot yourself in the foot” in C, then thats a quite big part of the language!

    • uis@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      10 months ago

      If you do C, and avoid pointers, do tell me what the point is using the language at all?

      Person is saying that C has one big footgun, while C++ has armory of them

      • Valmond@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        C is like one big problem then :-D

        C++ lots of smaller problems: divide & conquer baby!