• kekmacska@lemmy.zip
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 年前

    the author of C++ said that C gives you many opportunities to shoot yourself in the leg. You have a much less chance for this to happen with C++, but when it does, you will blow your whole lower body off

    • Valmond@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 年前

      Yeah C++ is a bazooka, C is like the death of 1000 paper cuts.

      The paper cuts are all poisonous and kills you anyway.

      • kekmacska@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 年前

        I haven’t used either, but compiled a lot of C source code and they compiled or could be adjusted easier even for someone who barely knows what printf, fopen, or #include are